10-21-2020 10:03 AM
I try to debug my C-code where I have a bunch of global variables I observe in the "Expressions" window in SDK. While I can edit any regular variable (int/float/...) by just clicking on it and entering a new value, this is not possible for char arrays. Why not and what can I do to be able to adapt the values during debugging?
11-03-2020 03:58 PM - edited 11-03-2020 03:58 PM
I see for a char I can set this with the "print" command from the XSCT window. However, it seems to be necessary to use the decimal ASCII value. For instance the below changes the variable to a 'v'.
print -set mychar 118
try using "help print" form XSCT for more information on the syntax.
11-13-2020 12:59 PM
If any of the previous information helped to find a resolution, please mark the helpful post as an accepted solution, for others to find.