Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Debugger has problems finding source file: "No source available for 0x0"
Debugger has problems finding source file: "No source available for 0x0" [message #1707101] Wed, 02 September 2015 10:54
Michael La is currently offline Michael LaFriend
Messages: 1
Registered: September 2015
Junior Member
I am remote debugging an executable that has been compiled with Arduino IDE. The problem is IDE can't find or display a file where the execution has stopped. It says 'No source available for "0x0"'.

Screenshot here: i.imgur.com/T1RuGU3.png

IDE log says:

!ENTRY org.eclipse.cdt.dsf.ui 2 0 2015-09-01 22:24:01.871
!MESSAGE Unable to locate file: C:\cygwin\tmp\untitled8842960513440007790.tmp\sketch_sep01a\sketch_sep01a.ino


GDB window at the same time:

Breakpoint 7, loop () at C:\cygwin\tmp\untitled8842960513440007790.tmp\sketch_sep01a/sketch_sep01a.ino:6
6 void loop() {


also I typed 'list' to see contents and GDB seems to be showin the file without problems.

list
88 if (exit) {
89 exit(exit_code);
90 }
91
92 /* If exit is NULL, make sure we don't return. */
93 for (;;)
94 continue;
95 }


Original .elf file (also attached) has one reference to sketch_sep01a.ino without the full path. It seems that GDB can resolve the location of the file correctly and find it and display the contents but IDE does not and prints an error.

What I'm wondering is that is this IDE bug. GDB does not print any errors and displays source correctly. Should the .elf contain full path to .ino.

I am using latest GNU ARM Eclipse OpenOCD plugin to start remote debugging and setting sketch_sep01a.elf as an executable.'

I'm happy to provide more info and test if anyone has ideas what to try next. Thanks.
Previous Topic:Migration of Borland C++ Builder 5 Application to CDT(Eclipse)
Next Topic:Eclipse C/C++ Editor
Goto Forum:
  


Current Time: Fri Apr 26 11:10:20 GMT 2024

Powered by FUDForum. Page generated in 0.03261 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top