Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When debugging, how do you view long strings?
Message
De
23/02/2005 13:01:53
 
 
À
23/02/2005 12:14:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Divers
Thread ID:
00989643
Message ID:
00989728
Vues:
21
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform