|
Previous Top Next |
Prototype: | (String pS, Byte pHideDebug=False), VIRTUAL |
pS | String to send to OutputDebugString |
pHideDebug | Flag that can be used in derived methods to prevent the method to send the output to OutputDebugString, but rather redirect it to some other output device, such as a file. |
This virtual method is used to Print To Debug and send the output to tools such as DebugView from www.systeminternals.com. Microsoft acquired SystemInternals in July 2006, but the utilities are still free and available for download at http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx Also check out DebugView++ This method calls the ODS method passing the pS parameter to it if the pHideDebug is false.
Example:
ITC ITCoreClass
Code
ITC.PTD('Check if this shows up in DebugView')
ITC.PTD('This should not show up in DebugView',True)
See also: