Anonymous
Not applicable
Apr 05, 2013
01:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 05, 2013
01:44 PM
The component works as expected, but the debugger says it cannot find the source files for source-level debugging.
Debugging components API in standard libraries works fine.
Any ideas ?
3 Replies
Anonymous
Not applicable
Apr 05, 2013
07:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 05, 2013
07:23 PM
Debbugger cannot find source files only if the component is in a library project.
If the component is in a design project it works fine.
I'd like to develop a library debugging it in place..
Anonymous
Not applicable
Apr 06, 2013
10:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 06, 2013
10:05 AM
I was wrong: it seems the debugger has bigger problems.
It cannot locate the source file if the parameters of the function you are stepping into have more than one pointer.
Try to step into these functions, even in THE SAME file:
void bugs(int *i, int *j) { while(i!=j); } void nobugs(int i, int j) { while(i!=j); }
That's pretty fucked up for a debugger!
Who debugs the debugger ? That's the question!
Apr 08, 2013
04:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 08, 2013
04:43 AM
Can you switch the debugging to use JTAG? Maybe this helps (see http://www.cypress.com/?id=4&rID=38481 )