madexcept

MadExcept triggers on try finally

守給你的承諾、 提交于 2020-01-03 19:55:10
问题 I am using MadExcept to debug my applications. It's an excelent framework though when a exception ocurrs on a try finally block it still displays that ugly box and the user thinks the app has crashed. How can i remove that ? Is there a way ? 回答1: Sounds like it's working as designed. A try/finally block does not catch exceptions; it ensures that proper cleanup can be done even if an exception is raised. If you want to handle an exception, you need to use a try/except block instead. 来源: https:

Is there any way to find out which form a TCustomForm reference refers to?

天涯浪子 提交于 2019-12-24 16:05:20
问题 I have added madExcept support to my application referenced in this question. When the program hangs I get the following report from madTraceProcess: date/time : 2015-07-28, 09:21:06, 350ms computer name : ENG_LAB user name : user registered owner : Eng_Lab_2 operating system : Windows 7 x64 Service Pack 1 build 7601 system language : English system up time : 1 hour 3 minutes program up time : 54 minutes 6 seconds processors : 2x AMD A6-5350M APU with Radeon(tm) HD Graphics physical memory :

MadExcept + try/finally block?

雨燕双飞 提交于 2019-12-10 21:59:00
问题 I have some delphi code, kind of like this: try //some code //occasionally throws an exception here, for example an EIndexOutOfRangeException //more code...should get skipped if exception is thrown finally // there may or may not be any important cleanup code here end; The exception in this case is not something that needs handling beyond breaking out of the try block. So, before mad-except was added to the project for error troubleshooting, this code was "working". But now I'm getting bug

madExcept, getting top of current stack

≡放荡痞女 提交于 2019-12-06 03:32:06
问题 In an delphi 2007 application, we have used madExcept to handle exeptions for us. We use the standard dialog, letting the user send us a report with mail if he want to. We want to add a little to this functionality. If the user choose not to send a full report, we still want to log the exception to a file, but not a full report. We want the exception class and message, and the source file and line number. The first two is easy, but I can't find a straight forward way of finding the latter. I

madExcept, getting top of current stack

拜拜、爱过 提交于 2019-12-04 08:59:53
In an delphi 2007 application, we have used madExcept to handle exeptions for us. We use the standard dialog, letting the user send us a report with mail if he want to. We want to add a little to this functionality. If the user choose not to send a full report, we still want to log the exception to a file, but not a full report. We want the exception class and message, and the source file and line number. The first two is easy, but I can't find a straight forward way of finding the latter. I have the full exception report in the form of an IMEException interface. As far as I can see, the call

Need a way to periodically log the call stack/stack trace for EVERY method/procedure/function called

感情迁移 提交于 2019-11-27 01:23:38
问题 I'm working on a very large application where periodically I'd like to log the ENTIRE call stack up until the current execution point (not on an exception). The idea here is that I want a map of the exact code path that led me to the point that I am. I have been working with madExcept, tooled around with jclDebug and while I can get some of the call stack, I can't seem to get EVERY method/procedure/function call that is made in the application to show up in the log. I've got stack frames