Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Check full value of a long string in the VB6 IDE

Tags:

ide

vb6

I have a string 'sSQL' that contains a very long tsql statement. I need to check what its value is while debugging. I usually just use ?sSQL in the immediate window but this is truncating the first half and only giving me the end half.

So is there an alternative way to see the full value using the vb6 sp5 dev environment?

like image 502
Richy321 Avatar asked Aug 12 '11 08:08

Richy321


2 Answers

For debugging, Clipboard.Clear: Clipboard.SetText ssql then paste into notepad.

like image 62
Deanna Avatar answered Sep 23 '22 02:09

Deanna


While execution is paused on the breakpoint you could type in the immediate window:

Debug.Print(sSql)

;-)

like image 44
scor4er Avatar answered Sep 22 '22 02:09

scor4er