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 http://www.eclipse.org/ for more details.
© 2007 Codefidence Ltd. All rights reserved. Distribution of verbatim copies allowed.

Come visit us at http://codefidence.com

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 http://codefidence.com

Creating a Debug Profile
2.Create a new debug profile

3.Give it a name

4. Choose project and binary

© 2007 Codefidence Ltd. All rights reserved. Distribution of verbatim copies allowed.

Come visit us at http://codefidence.com

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 http://codefidence.com

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 http://codefidence.com

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 http://codefidence.com

Eclipse Debug Session
Step, Next, Continue buttons Breakpoints, registers, variables and signals

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 http://codefidence.com

Happy Bug Hunting!
The End.

© 2007 Codefidence Ltd. All rights reserved. Distribution of verbatim copies allowed.

Come visit us at http://codefidence.com

Sign up to vote on this title
UsefulNot useful