I just started using madExcept and got a couple of questions.
1. My code is a project group with projects nested inside. One of them compiles to an executable, the others are bpls and get loaded into the process of the exe project at runtime. How do I use madExcept to get stack traces for the entire code base? Do I need to enable madExcept (via Project menu) in all projects, or enabling it in exe only is enough?
- If exe is enough, where does madExcept get the symbol information for the bpls?
- And if all the bpls need to have madExcept enabled, do they need to include (use) madExcept units, or do they only need the patching by the IDE plugin or the command-line tool? Can they inherit madExcept's settings from the exe?
2. I need to let the user suppress repeat exceptions. I could not find a way to add logic & controls to madExcept's native exception box, so I used an 'assistant' and a custom form inside it instead. This works fine, I added a checkbox and wrote a test to only show the form if that particular exception was not seen earlier by the process. However, I could not find a way to close the form and the assistant from code - their ModalResult properties are read-only and there is no Close() or similar method in the docs. So a user needs to first press one of the custom buttons (I've hidden the default Continue/Skip/Abort buttons since they don't make much sense for a single form) and then click X to close the form. Not very friendly... Can you help me with this?
That was actually more than two questions, sorry )) And thanks for making madExcept!