The program is lost
The program is lost
Hi!
I have a program with a breakpoint at the address 0xFFE07483.
If I press F5, the program is lost and it gives me the message :
“Break at address “0x432100ff” with no debug information available, or outside of program code.”
but if I press first “Instruction Stepping mode” and then F5, the program runs perfectly by pressing continuously F5.
¿Cuál es la razón ?
Javi.
Hello,
Thank you for reaching out to us!
Usually, this message appears when the code generated at that address does not contain any debug information. E2studio relies on that debug information to identify the source code and bring out the respective C/C++ file out in order to show it in your IDE debug window. As opposed to that, the Instruction Stepping mode relies on the already generated assembly code which can be investigated without enabling the debug information for that particular file.
To enable the debug information, please enable the -g option in your project compiler settings by right-clicking your project → Properties → C/C++ Build → Settings → Debug → Debug Level → Default.
If the address 0x432100FF contains any function from the Project-Build library (the function in which the debugger enters at that address can be determined in the Instruction Stepping mode) you should also add the -g option to the Library Generator options by right-clicking your project → Properties → C/C++ Build → Settings → Library Generator → Settings → User defined compiler options and add the -g options.
Please let us know if we can be of further assistance!
––
Best regards,
The GNU Tools Team