This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Debugger undefine variable

Hello,
I would like to automatize my tests. For this, I am calling the Keil debugger via the dll. In my program I use debugger variables. The problem is that between 2 runs, already defined variables/breakpoints/watchpoints/functions are not cleared. I found how to remove watch and breakpoints, also functions. But, no way to remove a variable!?
More generally, is there a way to be sure to have a clean environment? Delete project.uvgui.username????? (seems violent to me...)

Regards,
Gelika

Parents
  • Hello Reinhard,
    My reinstalling the toolset is related to other issues, one of them being the "search in files" feature for which I opened a ticket in the support tool some time ago. Another one was a problem of editing a file from the project, with another editor (also opened a ticket): in my installation there was no reload of the file and then no recompilation of the project. Even worse, if the file was open in the Keil editor, the file was overwritten and I lost my changes...
    Both issues were not reproducible at Keil, and I can't send my source code. My colleague using the same files has no issues anyway.

    Now it may well be that the issues are linked to a specific project, which somehow got broken when I copied it from a colleague instead of creating it myself (same code but different computer types). At this point I was not yet able to find the time to recreate the projects from scratch. What is for sure is that I lost the "uvision" icon during this reinstallation, so there is still something broken. I'm lost. "it's commpiling, it's running on the board"-> I gave up debugging my installation. But yes, everything tends towards some windows or install or configuration issue...

    Regards,
    Gelika

Reply
  • Hello Reinhard,
    My reinstalling the toolset is related to other issues, one of them being the "search in files" feature for which I opened a ticket in the support tool some time ago. Another one was a problem of editing a file from the project, with another editor (also opened a ticket): in my installation there was no reload of the file and then no recompilation of the project. Even worse, if the file was open in the Keil editor, the file was overwritten and I lost my changes...
    Both issues were not reproducible at Keil, and I can't send my source code. My colleague using the same files has no issues anyway.

    Now it may well be that the issues are linked to a specific project, which somehow got broken when I copied it from a colleague instead of creating it myself (same code but different computer types). At this point I was not yet able to find the time to recreate the projects from scratch. What is for sure is that I lost the "uvision" icon during this reinstallation, so there is still something broken. I'm lost. "it's commpiling, it's running on the board"-> I gave up debugging my installation. But yes, everything tends towards some windows or install or configuration issue...

    Regards,
    Gelika

Children