Hi, Mathias!
Do you know if exception stack trace is lost through an "invoke" call? There is any way to get the entire stack trace?
I have an exception ocurring AFTER a call to TRttiMethod.Invoke method and stack trace returns a report only until that invoke call, losing inner stack trace
Thank you for any help.
Best Regards
Stack trace AFTER a call to TRttiMethod.Invoke
-
- Posts: 1
- Joined: Tue Jun 08, 2021 3:20 am
Re: Stack trace AFTER a call to TRttiMethod.Invoke
Hi there, I've already replied via email. Here's the reply for other people reading here:
-------
My best guess would be that there's a try..except block internally
somewhere which catches the exception and later re-raises it.
What happens if you use madExcept.RegisterHiddenExceptionHandler(). See here:
http://help.madshi.net/madExceptUnit.ht ... ionHandler
Maybe this way you can get full stack traces? However, this way you'll
be notified about all exceptions, even some you might not want to see.
-------
My best guess would be that there's a try..except block internally
somewhere which catches the exception and later re-raises it.
What happens if you use madExcept.RegisterHiddenExceptionHandler(). See here:
http://help.madshi.net/madExceptUnit.ht ... ionHandler
Maybe this way you can get full stack traces? However, this way you'll
be notified about all exceptions, even some you might not want to see.