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
Testing forum post; please disregard.
HEllo, The variable is shown nowhere. I defined it using "DEFINE INT myvar" in the debugger command line window. I haven't seen any "window" where it is possible to see variables? Anyway, I'm not using the GUI, I'm calling Keil via the DLL with a python script (to automatise the tests)
Hi,
where exactly is a variable shown?
There are commands to remove breakpoints, variables from the watch windows, and a lot more. For example this: http://www.keil.com/support/man/docs/uv4/uv4_cm_watchkill.htm
We would need to understand what exactly is restored that you do not want?
Please let us know the exact window that is affected. What variable would you like to remove? Where is this variable shown?
Thanks Reinhard
View all questions in Keil forum