How to print/copy DEBUGGER variable info. (OpenInsight Specific)
At 30 SEP 1998 11:50:01AM Steve C. wrote:
From the system debugger, OI3.6.1, is there anyway to
print or copy the information being shown in a
variable window? I would like to print this info out…
so that I can work with it rather than have to write
it all down manually.
TIA
Steve C.
At 01 OCT 1998 10:08AM Aaron Kaplan wrote:
I still use cut and paste and jam it into notepad. It doesn't really work in hexedit, but for other vars, it seems to do the trick.
You could also just OSWRITE it out to a DOS file if it's a large, delimited variable.
akaplan@sprezzatura.com
At 01 OCT 1998 11:11AM Steve C. wrote:
Aaron,
In my OI debugger, OI 3.6.1, there is no way to "select"
text with the mouse, "shift" "down-arrow", or
any other way. The debugger menu has no options to
select text or copy text either. "Ctrl-Insert" does
nothing either. From what I can see they is no
way to select/copy text from the debugger. Any tricks
you have would certainly help.
Steve C.
At 02 OCT 1998 03:23AM Colin Rule wrote:
Double-click on the variable to display the edit box.
The variables can be amended then.
Use normal cut and paste from here.
You will need to double-click a few times.
You cannot get a whole table, only components of a variable.
At 02 OCT 1998 05:26AM Oystein Reigem wrote:
Steve,
I think Aaron must have the Debugger Pro version (available through the OpenInsight Works Diamond-Studded Platinum Membership).
![]()
As far as I know Colin points out the limited possibilities you have for copying text (double-clicking your way in until you reach the point where you can select and copy something, but unfortunately often just a piece of what you wanted).
What I'm curious about is how Colin and Aaron get the stuff they copy pasted, without waiting until they've finished the Debugger session. Generally I cannot manage to switch between programs when the Debugger is running, and there seems to be no way I can open a target for the paste from the Debugger (I can only open records and SPs in read-only mode).
So often it seems you have to write down on paper what you see in the Debugger and afterwards key it in where you need it. But at least you can get help with the first part. I use a screen capture program to capture the relevant areas of the screen to bitmap files or the printer. (Btw - with the capture program that I use - HiJaak Capture - there's not the usual problem with switching between programs during debugging. I don't know how it is with other capture programs.)
What I'd really like to have is a capture program that can capture - not bitmap images, but ASCII/ANSI text. So the program must have in-built OCR capabilities.
The next best thing would be to have a separate program that can do OCR on a bitmap capture file afterwards (even if I agree you need sizable chuncks of text you want to copy/paste before you can justify running two extra programs to get the job done). I have tried the only thing I have on my computer - Corel OCR-Trace, but it doesn't seem to handle screen dumps particularly well. What I need is software that knows how screen fonts look. I am sure there must be software like that around, but so far I haven't found it. (Btw - if I only could change the font in the Debugger, I could still get Corel OCR-Trace to work…)
- Oystein -
At 02 OCT 1998 08:43AM Aaron Kaplan wrote:
All I do is double click on the variable so I can edit the contents, highlight it, then ctrl-insert, though I usually shift-delete, then shift-insert simply because I just do.
Only time it's a problem is with delimited fields, since I can't get the whole variable and the cut/copy buttons don't seem to work in hex mode. That's when I'll osbwrite or write the var out and look at it in something else. Of course, this means I task out of the debugger, but I try and be carefull when I do that.
akaplan@sprezzatura.com
At 02 OCT 1998 09:21AM Aaron Kaplan wrote:
Sorry, the Debugger Pro version and the OpenInsight Works Diamond-Studded Platinum Membership are only available to Former Associates of Revelation Technologies.
Though I will tell you the magic secret is notepad and turning off the system modal property of the debugger. If you task switch into the wrong OI window though, you've just bought a one-way ticket to the magical land of system freezes.
akaplan@sprezzatura.com
At 02 OCT 1998 10:56AM Oystein Reigem wrote:
Aaron,
Thanks a lot!!!!!!!
Sorry, the Debugger Pro version and the OpenInsight Works Diamond-Studded Platinum Membership are only available to Former Associates of Revelation Technologies.
Also known as old FARTs?
![]()
(Sorry - the acronym just sort of jumped at me out of the screen…)
![]()
Though I will tell you the magic secret is notepad and turning off the system modal property of the debugger. If you task switch into the wrong OI window though, you've just bought a one-way ticket to the magical land of system freezes.
So there's white magic and black magic, then?
![]()
But please give me a final piece of info. You told Steve
… I'll osbwrite or write the var out …
How do you do that?
- Oystein -
At 02 OCT 1998 12:15PM Aaron Kaplan wrote:
Also known as old FARTs?
(Sorry - the acronym just sort of jumped at me out of the screen…)
![]()
I originally had it written like Former Associate of Revelation Technologies but I decided to be more subtle.
So there's white magic and black magic, then?
![]()
Of course there is. Never mess with powers you do not understand.
But please give me a final piece of info. You told Steve … I'll osbwrite or write the var out … How do you do that?
Generally, I prefer to
OsWrite Var on "C:\TEMP\" : Var1,8 : ".TXT"or some such line as that. I tried using
DosFile=Index( Var, "FAT32" , Var1,8 : ".TXT", 1)but it never seemed to work very well.
It's been reported as SPR#JCON4D6SE. Cam's promised a fix, but first he has to rewrite the engine back in ASM and Aztec C in order to integrate this section of the genius project back in, so he told me it might take a while.
Just in case it's not incredibly obvious, I'll know from a previous trip through the debugger that I'm going to want to write the var out, so I'll go back and put the code in. You can't do it from the debugger, though it would be a really cool feature.
akaplan@sprezzatura.com
At 02 OCT 1998 01:12PM Oystein Reigem wrote:
Aaron,
…decided to be more subtle.
I thought I was so clever…
…SPR#JCON4D6SE…
?
Just in case it's not incredibly obvious, I'll know from a previous trip through the debugger that I'm going to want to write the var out, so I'll go back and put the code in. You can't do it from the debugger, …
After I had pushed the Submit button it sort of dawned on me that's what you meant.
- Oystein -