Download DotNET Connect User's Guide
Transcript
4 Debugging Overview The DotNETConnect exception handler prevents methods in the stub that fail in execution from blocking VisualWorks. These errors are reported as instances of the VisualWorks class DotNETError, a subclass of Error. They can be caught and handled like normal VisualWorks errors. For debugging, they provide the string representation of the .NET exception, which includes an error message and a stack dump. Unfortunately, other useful information, such as the values of parameters and local variables, is not available. This means, if the exception object does not provide enough information to fix the problem, you will need to use the VisualStudio debugger. The stack helps you to identify the method that failed, insert a break point in that proxy method, and step through it using the VisualStudio debugger. This chapter describes a process for debugging proxy methods. DotNET Connect User’s Guide 4-1