Jump to content
GabrielMoraru

Where is the "call stack trace directly in the exception dialog" feature?

Recommended Posts

The documentation for D13 mentions that:

Quote

"The IDE exception dialog now directly displays the call stack trace, providing you with crucial information to understand the flow of your code."

This feature, if it is what I think it is (not as was tricked with NameOf), would be cool.

 

But it does not work for me.

I looked in the IDE option under "Debug" page to flip a switch. There is nothing there...

 

image.thumb.png.5c7636c5a9c4973cd5be55fd58c48d5f.png

Edited by GabrielMoraru

Share this post


Link to post

Where is that quote from? I just searched embarcadero.com for it and it found:

What's New (for Rad Studio Florence) where this is actually listed, but also RAD Studio 13: Every New And Enhanced Feature where the keyword "exception" isn't even mentioned on the page.

 

So maybe that was a feature they planned but didn't release but the still had it mentioned in the press release.

 

Alternatively there is this in the docwiki:

System.SysUtils.Exception.StackTrace description:

Quote

By default, StackTrace is always an empty string. If you want StackTrace to contain an actual value, you must assign GetStackInfoStringProc a procedure that can generate a string from the stack information.

Using Exception.StackTrace

In order to use the StackTrace property to obtain the stack trace for exceptions, you have to use (or implement) a stack trace provider. There are a number of third-party solutions, both commercial and free.

Some of the stack trace providers are:

so maybe it only shows that information if you have a stack trace provider installed in your program?

Edited by dummzeuch

Share this post


Link to post

I got this crash in the IDE and there I see the stack (this is not new). I guess this is what I was supposed to see (in Delphi 13) for my own projects.

image.thumb.png.414a9262cf47299cb26003ed64e970c9.png

Edited by GabrielMoraru

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×