Debug.Print...from an Exe
Everyone knows how useful Debug.Print can be when debugging a program in the run time environment...but why not make these debug comments available from an executable. Simply replace Debug.Print with the following, and then when your application is running as an executable you can use a debugger (such as DBMON.EXE, downloadable form MSDN) to see the debug comments as they occur:
AI
AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
Source Code
Private Sub DebugNote(ByVal DebugString As String) If IsDebuggerPresent Then Call OutputDebugString(DebugString) End If End Sub
Original Comments (3)
Recovered from Wayback Machine