Debug to stop at main and other breakpoints unresolved

Technical questions regarding the XTC tools and programming with XMOS.
phasemage
Junior Member
Posts: 6
Joined: Wed Dec 28, 2016 2:32 am

Post by phasemage »

My issue was user error. I come from a Visual Studio background, and expected to find the '-g' command line argument somewhere in the menus. The solution was to edit the makefile and add the '-g' to the XCC_FLAGS declaration.
This gave me the expected debug symbols.


hessa59
Active Member
Posts: 37
Joined: Sat Mar 18, 2017 7:19 pm

Post by hessa59 »

I am trying to learn how to use the startkit with 14.2.4 and am not able to set breakpoints at places that I need. Also the results seem inconsistent.

What is the consensus?
Does the debugger really work?
Should I give up and learn to use xscope?

Any help would be greatly appreciated!
User avatar
aclassifier
Respected Member
Posts: 483
Joined: Wed Apr 25, 2012 8:52 pm
Contact:

Post by aclassifier »

I guess I started a follow-up from this half a year later at http://www.xcore.com/viewtopic.php?f=26&t=5934.
--
Øyvind Teig
Trondheim (Norway)
https://www.teigfam.net/oyvind/home/
Post Reply