Search code examples
cdebuggingeclipse-cdt

How can I do the instruction level debugging with CDT


I am using CDT for developing C programs.

When the debugger stops on a break point and I do "Step Over" or "Step Into" the debugger behaviour is based on the source line level but not on the instruction level.

Can I do debugging on the instruction level in CDT?


Solution

  • In the Debug window (Debug perspective) there is an Instruction Stepping Mode button: It looks like a small i with an arrow i=>).
    You can also set breakpoints on specific instructions in the Disassembly window.