In VFP9, the watch window tip length limit has been raised from 255 to 4096, with the variable/object name and = sign being included in the 4096. Also, the tip does not disappear after a given time. If the tip text is longer than 4096, ... is appended to the end of the tip text past the 4096 characters.
>Ken -- I've tried that as well, but as many strings may be over 1000 bytes, that gets kind of tedious.
>
>Odd the VFP doesn't provide some native way to handle this. Oh, well.
>
>
>>Hi Jim,
>>
>>In addition to what others have said, I have, at times, in the watch window, displayed pieces of the variable by SUBSTR(myVar,1,100), SUBSTR(myVar,101,200) etc etc. Of course it sometimes breaks the strings in the middle of a word, but at least I can see the whole variable.
>>
>>HTH,
>>
>>Ken
>>
>>>How does one view (and possibly edit) long strings when debugging?
>>>
>>>The debugger allow you to view as much of a string as will fit it one line, and hovering the cursor will show more of it (up to 256 characters?), but even this disappears after a very short interval.
>>>
>>>However, at times, I have longer strings (created at run time as part of SELECT statements). Is there a way that I can view and possible edit them?
>>>
>>>Thanks,
>>>
>>>Jim
Jim Saunders
Microsoft
This posting is provided “AS IS”, with no warranties, and confers no rights.