-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
I try to debug my project, but when I set a breakpoint the target halts at a different line
Breakpoint is set to line 236, but as the orange highlight shows, the target hats at line 240
Optimize for debug is ticked
Core logs and symbols are enabled and there is no optimization
Initially it was optimized for debug (-Og), behaviour is the same
xModemMode is declared volatile (did this after stumbling on the shifted breakpoint, but it did change nothing)
When I try stepping through the code, I can reach the line 236 (although nothing works as intended because stepping disturbs the RS232 timings, data is lost, ...)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels