CodeSiteEx supports exception handling in a myriad of ways. When using TraceMethod CSX is smart enough to trap exceptions and handle the messaging system appropriately to keep the CodeSite Viewer messages accurate. Coupled with its own error trapping control, some basic information about an exception can be sent to CodeSite. And finally, several third party products can be used to trap exceptions and provide detailed logs to CodeSite.
But what exactly gets sent to the CodeSite Viewer? Using the options at the left, we will set up a small test application that generates an exception. The application will be executed several times using the following test cases:
CodeSite's native EnterMethod and ExitMethod procedures
CodeSiteEx's TraceMethod call alone
TraceMethod with the csxErrorTrapControl
TraceMethod with the JEDI Debugger
TraceMethod with the JCLDebugHandler
TraceMethod with madExcept
We will review the contents of the CodeSite viewer for each test condition.