I've come across a debugging utility that is supposed to work with Pascal, but I cannot find any clear explanation of how to use it. Is there a video showing how to use Microsoft’s dbgview.exe with Pascal?”
http://technet.microsoft.com/en-au/sysinternals/bb896647.aspx
There isn't much to it.
What that utility does is simply show the output of calls to OutputDebugString (or some of its other equivalents.)
For instance, if somewhere in your program (Pascal or other) you have a statement like:
OutputDebugString('Entered WM_CREATE' + CRLF);
.. some statements...
OutputDebugString('Exiting WM_CREATE' + CRLF);
then the output on its screen will be
[1504]
[1504] Entered WM_CREATE
[1504] Exiting WM_CREATE
...
etc
If you don't need to see debug strings from other programs, you can accomplish the same thing by specifying {$APPTYPE CONSOLE} (even in a GUI program) and use "writeln" to output onto the console. That way you don't need a separate program to see the output.
That utility is useful when you have a Windows Checked build running. With it, you get to see the O/S debug/informational messages but, for your own programs there are more convenient and powerful ways of getting strings output for debugging purposes.
HTH