Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » debugger GUI equivalent to GDB 's' (step into) command ?(how to step into a function in CDT debugger)
debugger GUI equivalent to GDB 's' (step into) command ? [message #1744118] Thu, 22 September 2016 13:19 Go to next message
Jason Vas Dias is currently offline Jason Vas DiasFriend
Messages: 6
Registered: September 2016
Junior Member
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 ?
Thanks, Jason

Re: debugger GUI equivalent to GDB 's' (step into) command ? [message #1744128 is a reply to message #1744118] Thu, 22 September 2016 14:29 Go to previous messageGo to next message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
It's the rigt-angled downward pointing arrow in the Debug View third from right in this image
index.php/fa/27170/0/

It's also in the tool bar and in the Run menu when in the Debug Perspective.
And can be accessed with F5

Here's the help:
http://help.eclipse.org/neon/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Freference%2Fviews%2Fdebug%2Fref-stepinto.htm

Found it by googling "eclipse debug step into"

[Updated on: Thu, 22 September 2016 14:39]

Report message to a moderator

Re: debugger GUI equivalent to GDB 's' (step into) command ? [message #1744198 is a reply to message #1744128] Fri, 23 September 2016 10:15 Go to previous messageGo to next message
Jason Vas Dias is currently offline Jason Vas DiasFriend
Messages: 6
Registered: September 2016
Junior Member
No Message Body
Re: debugger GUI equivalent to GDB 's' (step into) command ? [message #1744199 is a reply to message #1744198] Fri, 23 September 2016 10:16 Go to previous messageGo to next message
Jason Vas Dias is currently offline Jason Vas DiasFriend
Messages: 6
Registered: September 2016
Junior Member
No Message Body
Re: debugger GUI equivalent to GDB 's' (step into) command ? [message #1744200 is a reply to message #1744118] Fri, 23 September 2016 10:18 Go to previous messageGo to next message
Jason Vas Dias is currently offline Jason Vas DiasFriend
Messages: 6
Registered: September 2016
Junior Member
Thanks! found it. It would be nice to have some reference to & explanation of this graphical squiggle in the online help ...
Re: debugger GUI equivalent to GDB 's' (step into) command ? [message #1744214 is a reply to message #1744200] Fri, 23 September 2016 11:53 Go to previous message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
What I linked is the online help.
In what way was it uninformative?
If you meant local help try Help --> Help Contents.
The same help as online will popup in a new window.
You can also search it.
Previous Topic:how to display list of commands run by 'Build All' and save output to a file?
Next Topic:Canceling a build -> every next build will have an error.
Goto Forum:
  


Current Time: Thu Mar 28 12:02:11 GMT 2024

Powered by FUDForum. Page generated in 0.03474 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top