-
Mar 19th, 2023, 03:35 PM
#1
Thread Starter
Lively Member
[RESOLVED] Break stopped working
I have been working a project for several weeks.
I used to set breaks and they worked properly.
Today when I set breaks, nothing happens and the breaks are ignored.
I did not change any code
.
-
Mar 19th, 2023, 04:49 PM
#2
Re: Break stopped working
The only time that breakpoints don’t work, is if code execution doesn’t reach the breakpoint. This could happen if you have a breakpoint inside a conditional block of code…
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
-
Mar 19th, 2023, 05:20 PM
#3
Re: Break stopped working
Or if you are running the release version, in which case the ball in the left margin will become white in the center at runtime. They will appear as normal until you try to run the program, then they will change.
That and what .paul. suggested are the only two ways that I have ever seen breakpoints get skipped.
Edit: Strike that. There's a third way, but it's pretty rare. If you have turned on all the optimizations for compiling, then there is no guarantee that a breakpoint on any particular line will be hit. It USUALLY will be hit, but if the line got optimized away, then it might not be. However, optimizations are normally off for debug versions, which is as they should be.
My usual boring signature: Nothing
-
Mar 20th, 2023, 04:25 PM
#4
Thread Starter
Lively Member
Re: Break stopped working
Break point never reached.
Reset it and it works,
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|