Tracing
Class that provides useful static methods for debugging, tracing and messaging.
Methods
Assert
#Display a typical assert dialog with stack information.
Assert
#Display a typical assert dialog with stack information.
Assert
#Display a typical assert dialog with stack information.
Assert
#Display a typical ASSERT dialog with stack information.
Parameters:
| assert_id (Guid) | ID of assert message. Every assert must have a unique ID so individual messages can be ignored. |
DebugLogAddEntry
#Add a message to the debug log. If the debug log doesn't exist yet, it will be created. This function will only work if the Grasshopper window exists. This method is threadsafe.
Parameters:
| message (string) | Message to post. |
DebugLogBeginBlock
#Start a new block in the debug data. You must end all your own blocks. This function will only work if the Grasshopper window exists. This method is threadsafe.
Parameters:
| name (string) | Name of block |
DebugLogEndBlock
#public static void DebugLogEndBlock()
Start a new block in the debug data. You must end all your own blocks. This function will only work if the Grasshopper window exists. This method is threadsafe.