472,110 Members | 2,295 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes and contribute your articles to a community of 472,110 developers and data experts.

What your program is doing / line by line / you can know

SwissProgrammer
220 128KB
Years ago I asked what my code was doing while it was running.

Smooth running or crashing or locking up. What did it do?

Am I sending data and values correctly?

Are my calculations actually working as I want them to work?

Are my returned values what I want them to be?

When I type this or that and then run the program, what is happening? Line by line, what is happening?

OK. So years ago, in VB6 (sp5, not sp6) I wrote a report process that I can incorporate into my VB6 code. It is not a simple error reporter. It is not a simple warning system. It is a full report.

It reports in rtf format. rtf is Rich Text Format which in Microsoft Windows is Unicode. Therefore if I want to see any character in any of it's Unicode capacity to output, I can put that into the report.

Here is an example of a full report that I think I was getting while writing a VB6 sp5 program that subclassed Firefox and controlled Firefox's individual tabs one at a time separate from all of the rest of the Firefox tabs.

Look at it. Get some ideas for yourself.

You are NOT limited to compiler responses. You can go far beyond that.

bytes.com did not allow the Report_Example.rtf to be uploaded because it has the ".rtf" extension, so I opened up the report in Word Pad and then saved it as a .txt file. You can open the .txt file in Note Pad and see the Rich Text Formatting. Word Pad and Note Pad are both available as 32 bit Microsoft programs, but Word Pad is much faster to edit in and can more easily handle very large files. If you want the report in rtf format then open up the .txt file with Word Pad and save it as a .rtf file.

Enjoy:
Attached Files
File Type: txt Report_Example.txt (94.8 KB, 299 views)
Sep 26 '20 #1
0 2974

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Valentina | last post: by
1 post views Thread by COHENMARVIN | last post: by
6 posts views Thread by Binary | last post: by
3 posts views Thread by Dean Slindee | last post: by
53 posts views Thread by Gianni Mariani | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.