We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
When the *pointer point to an array, as follow:
int *pointer = malloc(sizeof(int) * 10);
How can I watch the array in the debug WATCH windows?
In Visual studio , we can use "pointer, 10" to watch the array easily. Can keil do like this??
Hi Forevy,
Yes, you can add variables to a watch window in KEIL to view the value. You have to select the variable when you are debug mode, and then "add to watch 1". You will see a window with the value of your variable.
Here you have more information: www.keil.com/.../uv4_db_dbg_watchwin.htm
BR.
Thank you for answering, but you don't understand my question!