Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Breakpoints half working
Breakpoints half working [message #1827354] Wed, 13 May 2020 16:01 Go to next message
Duncan Perrett is currently offline Duncan PerrettFriend
Messages: 2
Registered: May 2020
Junior Member
The program does stop and if I open the Debugger Console it tells me which breakpoint has been reached.
The Resume button is available but the step buttons are not.
There are no automatic changes in the editor.
I am in the Debug Perspective.
Even if I open the file manually in the editor, the line is not highlighted in green.

My versions are
Momentics Version: 7.0.4.v201905030143
QNX 7
My host is Windows 10 64-bit
My target is QNX Neutrino VMWare image for X86_64 from the QNX Software Center

This is so difficult to describe in words so I've taken a screen recording to demonstrate my breakpoint problem.

Attached is a screen recording video showing the behaviour.


Re: Breakpoints half working [message #1827462 is a reply to message #1827354] Fri, 15 May 2020 00:30 Go to previous message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
The problem is you stepped into a routine that

  • Lacks debug info (compiled without debug)
  • or, points to source in a way the debugger can't use (absolute path that doesn't exist; relative path that is incorrect)

This happens a lot with system library routines.
Note that you are given the option to continue with a disassembly.
index.php/fa/38118/0/

If you don't care to step through the routine:
view the disassembly
then run until return (the up pointing right arrow)
then don't step into it anymore.

Alternately, you could use the source tab on the debug configuration to tell where the source can be found. This may take some experimentation.

[Updated on: Fri, 15 May 2020 00:36]

Report message to a moderator

Previous Topic:Multiple errors in Sizeof 2d Array Project
Next Topic:CDT parser and Preprocessor Directives
Goto Forum:
  


Current Time: Fri Apr 26 07:48:02 GMT 2024

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

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

Back to the top