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
  • Have you checked what default program Windows thinks should be used when opening uvision project files? Is it the correct binary?

    In my case, .uv2 is of type UV2FILE, and UV2FILE is opened by the command "C:\Keil_v5\UV4\UV4.EXE" "%1"

    And as long as no explicit icon has been specified, Windows should pick up the first available icon from the UV4.EXE binary.

    But if UV4.EXE points to the wrong path as a result of you having played with multiple concurrent installations, then you can get into troubles.

Reply
  • Have you checked what default program Windows thinks should be used when opening uvision project files? Is it the correct binary?

    In my case, .uv2 is of type UV2FILE, and UV2FILE is opened by the command "C:\Keil_v5\UV4\UV4.EXE" "%1"

    And as long as no explicit icon has been specified, Windows should pick up the first available icon from the UV4.EXE binary.

    But if UV4.EXE points to the wrong path as a result of you having played with multiple concurrent installations, then you can get into troubles.

Children