Debug XMOS, debug breakpoint, no source code error

New to XMOS and XCore? Get started here.
User avatar
feniksa
Member++
Posts: 22
Joined: Tue Apr 03, 2012 1:12 pm

Debug XMOS, debug breakpoint, no source code error

Postby feniksa » Sat Oct 13, 2012 11:13 pm

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:
Image

Or

Image
Redeye
Experienced Member
Posts: 113
Joined: Wed Aug 03, 2011 9:13 am

Postby Redeye » Sun Oct 14, 2012 11:44 am

My first guess would be that you haven't got -g turned on in your build configuration?
User avatar
feniksa
Member++
Posts: 22
Joined: Tue Apr 03, 2012 1:12 pm

Postby feniksa » Sun Oct 14, 2012 4:48 pm

Redeye wrote:My first guess would be that you haven't got -g turned on in your build configuration?
I rechecked it in my Makefile, but -g (debug) option setted

Here it is my Makefile: http://pastebin.com/dRkdWbtQ
User avatar
yamada
Member
Posts: 9
Joined: Wed Nov 02, 2011 2:49 am

Postby yamada » Sun Feb 03, 2013 11:52 pm

Hello, feniksa.

I saw same trouble sometime. In my case, turning off the -W and -Wall option made thing good.
Try this!
User avatar
armands117
Member
Posts: 11
Joined: Fri Dec 28, 2012 1:39 am

Postby armands117 » Mon Feb 04, 2013 7:08 am

feniksa wrote:
Redeye wrote:My first guess would be that you haven't got -g turned on in your build configuration?
I rechecked it in my Makefile, but -g (debug) option setted

Here it is my Makefile: http://pastebin.com/dRkdWbtQ
You have optimizations with -o3 switched on, this may eliminate such a 'for' loop because the required effect is already achieved by other means.

Who is online

Users browsing this forum: No registered users and 5 guests