Debugger stops at program entry point and not in main. #1128
Unanswered
freddiehaddad
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Environment
Problem
When I start debugging a program, instead of the debugger breaking at
main
, it breaks before main and shows assembly no matter what I try.I can switch back to the open buffer with my source, and issue a debug command to continue and it will stop at my breakpoint.
Question
How can I prevent the early breakpoint activation?
Source Code
Compilation Flags:
Screenshots of Debugging Session
Starting the debugging session:

First break point:

Switching back to hello.cpp:

Continuing to breakpoint in

main
:Beta Was this translation helpful? Give feedback.
All reactions