Breakpoints Don't Work

Technical questions regarding the XTC tools and programming with XMOS.
fas
Member
Posts: 12
Joined: Wed Aug 03, 2016 11:59 pm

Breakpoints Don't Work

Post by fas »

I can't set breakpoints. Every time I double-click in the left-hand side gutter it just puts an exclamation point which says "Unresolved breakpoint". Also execution does not stop at the breakpoint. The program just runs and never stops.

I'm using the AN00193 project and following the instructions in the app note but this happens on every project.
fas
Member
Posts: 12
Joined: Wed Aug 03, 2016 11:59 pm

Post by fas »

Solved.

The problem is that the "Default" configuration does not enable debugging (-g).

Documentation does not mention that you have to select the "Create Debug and Release Configurations".