>OK, thanks.
>
>>not if you are suspended while the memvar is in scope
>>
>>>Not having tried this yet ... would there be a problem if my string was LOCAL?
Another thing I may do with longer strings is (assuming the code is waiting in the debugger with the variable in scope)
strtofile(m.cvar, "tmp.prg")
modi comm tmp
m.cVar=filetostr("tmp.prg")
The m. here is for intellisense to find my variable faster - I usually forget its name as soon as I switch from debugger to command window :). The nice thing about this is that I have the tmp.prg on disk when I exit the app, and anything I fixed there is reusable for fixing the code from which it came. Maybe a bit more typing than clipboard way, maybe not - YMMV.