|debugger GUI equivalent to GDB 's' (step into) command ? [message #1744118]
||Thu, 22 September 2016 13:19
| Jason Vas Dias
Registered: September 2016
Good day - I am an experienced C & C++ programmer new to eclipse, and I'm simply|
trying to step into a function in the current C/C++ project in a version of eclipse CDT .
The debugger is running and the current line is highlighted, displaying eg. :
line#: --> " a_function() ; " <---
How do I get the debugger GUI to issue the gdb 's' command at this point ?
ie I want to single-step to the first C statement in 'a_function()' .
Unfortunately, I cannot run GDB except in the eclipse CDT GUI, I am debugging
code running on hardware connected via JTAG to a proprietary & modified
build of eclipse CDT , which is the only way to debug code running in that device.
Ideally, I'd like to display the machine registers, selected variable values,
and single-step "C"-line by "C"-line through the code the way GDB does -
NOT step into each machine code instruction.
It is very far from clear how to achieve this in the eclipse CDT GUI, and searching
the help was of no use either . I suspect it must be possible with the CDT GUI -
there is probably some obscure graphical squiggle I must click on or an unadvertised
keystroke I must press.
Would anyone be able to enlighten me what the magic keystroke or icon is in CDT
to step into a function with the debugger please ?
Powered by FUDForum
. Page generated in 0.02215 seconds