All,
I ran into a problem with Truestudio IDE 1.7.0 breakpoints and was hoping someone could tell me what caused it and how to fix it.
The breakpoint (circled) is slash in the middle and is not recognized in debug mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-01-26 9:30 PM
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-01-27 2:36 PM
Thank you so much! Now I know! Can we blame it on Diplopia?
Nah! I'll take it!
Problem resolved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-01-27 3:55 AM
Try a lower optimization level for the compiler, like -O0.
At higher level, the compiler might move code around, reorder, inline,...
The underlying gdb can also break at function entry by using
break <functionname>
in the debugger console. Function might need an underscore prefix _, check .map file.
hth
KnarfB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-01-27 3:57 AM
I dont know if you did it on purpose but it seems you disabled all breakpoints.
try unselecting that option in your toolbar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-01-27 2:36 PM
Thank you so much! Now I know! Can we blame it on Diplopia?
Nah! I'll take it!
Problem resolved.
