Hi,
I've madExcept enabled for my project, it works anywhere except that when FastReport shows an error, madExcept doesn't show the stacktrace which is what I need the most.
I asked the FastReport team and they can't provide such support, so I resort to this forum.
Thanks.
madExcept does not work with FastReport
Re: madExcept does not work with FastReport
Hi I'm a registered user and my (Share-it order no. 446807335)
All I need is to have madExcept hook into FastReport so that it catches exceptions raised inside FR. Anybody can help? Thanks.
All I need is to have madExcept hook into FastReport so that it catches exceptions raised inside FR. Anybody can help? Thanks.
Re: madExcept does not work with FastReport
Does FastReport provide any sort of exception callback? If so, just call "madExcept.HandleException()" in that callback and you're done.
Otherwise you can use madExcept's RegisterHiddenExceptionHandler(stDontSync) to register an exception handler which gets called for exceptions that are silently handled by FastReport (or other parts of the application). You can then in your handler simply set "handled := false" to force madExcept to show a bug report for such hidden/handled exceptions. By default madExcept only cares about unhandled exceptions.
Hope that helps?
Otherwise you can use madExcept's RegisterHiddenExceptionHandler(stDontSync) to register an exception handler which gets called for exceptions that are silently handled by FastReport (or other parts of the application). You can then in your handler simply set "handled := false" to force madExcept to show a bug report for such hidden/handled exceptions. By default madExcept only cares about unhandled exceptions.
Hope that helps?
Re: madExcept does not work with FastReport
Code: Select all
RegisterHiddenExceptionHandler(stDontSync)