0
\$\begingroup\$

I want to store a variable every time a breakpoints is hit, while i am running a test. Any idea how can i automate the task??

Or How can we monitor keil via python or any other script language ?

\$\endgroup\$
1
\$\begingroup\$

You can use the Breakpoint dialog to run commands when you hit a breakpoint.

keil breakpoint dialog

\$\endgroup\$
  • \$\begingroup\$ I have one more question , i am saving a variable by "SAVE temp1.hex temp_array,&temp_array[0]+sizeof(temp_array)" . if i want to increment temp1.hex at hit how to achieve same?? \$\endgroup\$ – yogesh singh Dec 5 '17 at 8:07
  • \$\begingroup\$ @yogeshsingh You could call a function that selects a different hex. This is far beyond how much time I've spent in debug commands. Sorry. \$\endgroup\$ – Jeroen3 Dec 5 '17 at 9:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.