I was wondering if this could be done. In the debugger, when I'm inspecting a variable (an array of bytes), that represent a string -- but at debug time, I just see the byte array elements as the ansi character number of each element. We have a function "AnsiCharArrayToString" that will convert this array of bytes to a string. Is there a way to somehow create a debugger construct to convert this byte array to a string in debugger insight? If I allow side effects and function calls when inspecting, I can get it to show the string, but I was wondering if there is an easier way..

I was wondering if this could be done. In the debugger, when I'm inspecting a variable (an array of bytes), that represent a string -- but at debug time, I just see the byte array elements as the ansi character number of each element. We have a function "AnsiCharArrayToString" that will convert this array of bytes to a string. Is there a way to somehow create a debugger construct to convert this byte array to a string in debugger insight? If I allow side effects and function calls when inspecting, I can get it to show the string, but I was wondering if there is an easier way..

Comments

Post a Comment