Hello,
I was trying to set breakpoints in the code for a test example - proximity reporter. When the debugger starts, I get the following error:
BS \\prox_reporter_580\../src/platform/user_periph_setup.c\112
_______________________^
*** error 35: undefined line number
In this example, I set a break point at periph_init() function and as I can step through this code manually, it means that the debugger touches that line. This looks like something to do with the relative path not being recognised by Keil and some forward slash business. Is there a way to explicitly define a breakpoint(full file path)?
Device:
Hi vmore,
This error was occurred because you added a breakpoint in a comment and not in code line. If you check again the code into periph_init() the 112 line is a comment. If you are in the debug mode, you will see that you are not able to add a break point in line 112. As I can imagine, first you added the breakpoint and then you went into the debug mode. In order to debug correctly your code, you should add the breakpoint into a code line, so just add it in a line before or in a line after the comment.
Thanks, PM_Dialog