I am trying to set breakpoint for XMOS XR-USB-AUDIO-2.0-MC, but i got stuck with debugging.
When i setup debug point, XMOS ide always return error "no line in file".
For example:
Or
Debug XMOS, debug breakpoint, no source code error
-
- Member++
- Posts: 22
- Joined: Tue Apr 03, 2012 1:12 pm
-
- XCore Addict
- Posts: 131
- Joined: Wed Aug 03, 2011 9:13 am
My first guess would be that you haven't got -g turned on in your build configuration?
-
- Member++
- Posts: 22
- Joined: Tue Apr 03, 2012 1:12 pm
I rechecked it in my Makefile, but -g (debug) option settedRedeye wrote:My first guess would be that you haven't got -g turned on in your build configuration?
Here it is my Makefile: http://pastebin.com/dRkdWbtQ
-
- Member
- Posts: 9
- Joined: Wed Nov 02, 2011 2:49 am
Hello, feniksa.
I saw same trouble sometime. In my case, turning off the -W and -Wall option made thing good.
Try this!
I saw same trouble sometime. In my case, turning off the -W and -Wall option made thing good.
Try this!
-
- Member
- Posts: 11
- Joined: Fri Dec 28, 2012 1:39 am
You have optimizations with -o3 switched on, this may eliminate such a 'for' loop because the required effect is already achieved by other means.feniksa wrote:I rechecked it in my Makefile, but -g (debug) option settedRedeye wrote:My first guess would be that you haven't got -g turned on in your build configuration?
Here it is my Makefile: http://pastebin.com/dRkdWbtQ