Advertisement
ASP_Volume3 Windows API Call/ Explanation #52735

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

Tóm tắt bởi AI: 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.

Mã nguồn
original-source
Private Sub DebugNote(ByVal DebugString As String)
If IsDebuggerPresent Then
 Call OutputDebugString(DebugString)
End If
End Sub
Bình luận gốc (3)
Được khôi phục từ Wayback Machine