100% found this document useful (3 votes)
41 views8 pages

Remote Debugging with Eclipse CDT

Eclipse is an open source development platform comprised of extensible frameworks, tools and run times for building, deploying and managing software across the life cycle. CDT is the name of the C/C++ development plug-in. It includes a graphical GDB front end. The following slides are a short visual “how to” demonstrating configuring and using CDT to debug a remote target with GDB.

Uploaded by

Tuxology.net
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (3 votes)
41 views8 pages

Remote Debugging with Eclipse CDT

Eclipse is an open source development platform comprised of extensible frameworks, tools and run times for building, deploying and managing software across the life cycle. CDT is the name of the C/C++ development plug-in. It includes a graphical GDB front end. The following slides are a short visual “how to” demonstrating configuring and using CDT to debug a remote target with GDB.

Uploaded by

Tuxology.net
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Remote Debugging With

Eclipse is an open source development platform


comprised of extensible frameworks, tools and run
times for building, deploying and managing software
across the life cycle.
CDT is the name of the C/C++ development plug-in.
It includes a graphical GDB front end.
The following slides will show you how to configure
and use it.
See [Link] for more details.
© 2007 Codefidence Ltd. All rights reserved. Distribution of verbatim copies allowed.
Come visit us at [Link]
Opening the Debugging Menu

1. From your open


project, open the Run
menu and Choose
“Debug...”

© 2007 Codefidence Ltd. All rights reserved. Distribution of verbatim copies allowed.
Come visit us at [Link]
Creating a Debug Profile
[Link] a new
debug profile

[Link] it a
name

4. Choose
project and
binary

© 2007 Codefidence Ltd. All rights reserved. Distribution of verbatim copies allowed.
Come visit us at [Link]
Configuring The Debugger
5. 5.
Choose
Choose
type
(local/remote)
GDBServer

6. Add path to
GDB from
tool chain

© 2007 Codefidence Ltd. All rights reserved. Distribution of verbatim copies allowed.
Come visit us at [Link]
Configure Dynamic Libraries

7. Add path
to system
libraries for
the target
machine in
your tool
chain's lib
directory

© 2007 Codefidence Ltd. All rights reserved. Distribution of verbatim copies allowed.
Come visit us at [Link]
Configure Connection and Save

8. Choose
connection type
(serial or TCP) and
provide details

9. Use the
“Apply” button
to save your
debug profile

10. Click “Debug” to


start debugging
immediately

© 2007 Codefidence Ltd. All rights reserved. Distribution of verbatim copies allowed.
Come visit us at [Link]
Eclipse Debug Session
Step, Next, Breakpoints, registers,
Continue variables and signals
buttons

Threads
and call
stacks

Source
code

Status,
memory
watches Symbols

© 2007 Codefidence Ltd. All rights reserved. Distribution of verbatim copies allowed.
Come visit us at [Link]
Happy Bug Hunting!
The End.

© 2007 Codefidence Ltd. All rights reserved. Distribution of verbatim copies allowed.
Come visit us at [Link]

You might also like