Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 472
Art Spasky Avatar asked Jun 24 '10 17:06

Art Spasky


1 Answers

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.

like image 67
Turbo J Avatar answered Sep 28 '22 11:09

Turbo J