force xsi to throw and exception 2005-05-13 - By Andrew Skowronski
Back Yes, you can set Microsoft Visual Studio to stop on exceptions rather than the default which is to stop if not handled. If I recall correctly there is an Exceptions dialog under the Debug menu.
-Andrew
-- --Original Message-- -- From: owner-xsi@(protected) [mailto:owner-xsi@(protected)]On Behalf Of Brad Friedman Posted At: Friday, May 13, 2005 1:51 PM Posted To: xsi Conversation: force xsi to throw and exception Subject: force xsi to throw and exception
This may be a silly entry level question:
I have some test code in my script editor that I'm using to debug an XSI-Aware ActiveX control. When the ActiveX control throws an exception, XSI catches it and prints the .message parameter to the script log. Which is neat and useful for a lot of things.
However, I have my debugger hooked up to the XSI process now to do some real debugging. It connects fine and if I pause it in the middle of code execution, all is well. I can step through my source. But when an exception is thrown, the debugger doesn't catch it because XSI does. Is there a way to force XSI to throw the exception rather than catch it, so the debugger can handle it?
-brad --- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|