-
Notifications
You must be signed in to change notification settings - Fork 38
Eclipse Debug
Eclipse provides an amazing debugging environment that enables you to set breakpoints on code, inspect variables, registers value, stack call trace, and many other advanced features.
To start a debugging session:
- Open a source file navigating the project structure on the left pane.
- Set one o more breakpoints double clicking on the gutter on the left side of the editor pane.
- Launch T-Coffee in debug mode using the "Run > Debug" command on the main menu or clicking the Debug icon on the toolbar.
http://tcoffee.googlecode.com/svn/wiki/images/eclipse-breakpoint.png
Starting the debugging session Eclipse will switch into the "Debug" perspective, and T-Coffee will launched and stopped on the first instruction line of the main
function to give you the opportunity to begin the debugging.
From here you can execute the code step-by-step (F6
key), step-into functions (F5
key) or step-out (F7
key) or resume the execution (F8
key).
When the program is stopped at a breakpoint you inspect variables value and other details.
http://tcoffee.googlecode.com/svn/wiki/images/eclipse-debug-perspective.png