2015-09-22 07:40 AM - last edited on 2024-09-24 09:51 AM by Doreena Deng
2015-09-22 03:24 PM
MarkHenryC wrote:Do you mean ARCHICAD is exiting without giving you a chance to debug at the point of failure? You can set the debugger to break at the point where an exception is thrown (and specify which types of exceptions you're interested in). Is that what you're after?
I'm guessing ArchiCAD installs a low-level hook (I'm on Win 7) to catch exceptions. This makes it hard to identify where the problem occurs in the plugin, as AC takes over & displays call stack etc. Is there any way to switch this off for a debugging session?
2015-09-22 09:36 PM
2015-10-02 09:51 AM
MarkHenryC wrote:
Yes that's the problem I'm having. It will jump to AC's handler, even if I bracket an error in a try/catch block.
But you're right, I probably have to tweak my debug settings. I don't have them on "full" as there are a number of harmless first-chance exceptions thrown outside of my code.