I'm developing a project for the KL25 using KDS 3.0.0.and Segger probe. I'm unable to properly set and clear breakpoints. Specifically:
Effectively, this means that, for me, KDS 3.0.0 can't debug. What does this mean? Is there some debug configuration parameter that I'm missing?
Thanks,
Eyal Doron
hi
please try:
0. go to menu "project", "clean..." to remove the unwanted association. then build project agian.
1. make sure you didn't select "Skip all breakpoints" button.
2. remove all breakpoints in "Breakpoints" , then add new one.
can this help you?
Have a great day,
Zhang Jun
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Eyal,
strange, I have not seen something like this. Is there anything special with your setup/machine?
Maybe you could turn on GDB traces (Window > Preferences), and maybe this gives a clue what is going wrong?
the other thought I have is that you might try your project in a new workspace to see if this helps?
Erich
Hello Erich,
I found it! Its truly strange. In the debugger configuration options, I previously cleared the checkbox that inserted a temporary breakpoint at the beginning of the program. This apparently caused all the problems. When I reinstated the check, everything returned to normal.
By the way, the “Debug” view was also seriously off, sometimes not showing anything but the first line. With the check box selected, it also returned to normal.
Thanks,
Eyal
I had a similar issue. Once the program was started, I was not able to pause the execution, nor stopping the program by adding a breakpoint. In my case, changing the gdb-debug settings solved the issue. Looks like a bad settings that is reset when you edit the debug settings.
In my case, uncheck the "stop on startup at" solved my problem. I was Inspired by your last post...
Michael