473,287 Members | 1,643 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes and contribute your articles to a community of 473,287 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, 387 views)
Sep 26 '20 #1
0 3215

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

Similar topics

2
by: Valentina | last post by:
What does this C++ line mean? bool bBoolean = (0!=(nInteger&0x08)); I don't understand the nInteger&0x08 bit. Thanks, Valentina
1
by: COHENMARVIN | last post by:
Folks, My boss has given me an assignment. Another company hosts web services, and he wants me to write an internet application that uses them. So my question is: What do I need to know to do...
1
by: carllucas | last post by:
Can anyone explain this line of code to me: <script type="text/javascript" id="StartupScript" src="StartupScript.js?v=1" > For example why is it necessary to create an id for the script?...
6
by: Binary | last post by:
Hi, I am curious the second half of this line: const unsigned int ctorCount = BaseClass::GetCtorCount(); (void)ctorCount; What is the purpose of (void)ctorCount; ? TIA.
10
by: Frank | last post by:
I've done this a few times. In a solution I have a project, Say P1, and need another project that will contain much code that is similar to that of P1. I hope no one gets hung up on why I...
3
by: Dean Slindee | last post by:
Need to write a standalone application that processes data once per day. Looking for the application program types available that would satisfy these requirements: Requirements: 1. Unattended...
53
by: Gianni Mariani | last post by:
Do you have a preference on maximum line width for C++ code? I've seen the craziest debates on this most silly of topic. I have witnessed engineers spent oodles of time fiddling with line...
3
by: davidp51 | last post by:
What does the following line do? Dim num As Single = CSng(-((num2 = Single.MinValue) > False))
1
by: veni | last post by:
i wrote the c program for command line argumments,but i donot know how execute c program through command prompt i did like this d:\tc\bin> then how should i proceed for execution
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

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.