TApplicationError.Astack is always empty

I'm not sure if I am missing a trick here, but the TApplicationError passed into my OnApplicationError method never seems to have the AStack property populated.

Any ideas?

Is what you try to get the stack for an Object Pascal exception or a JavaScript exception?

We use the stack property of the JavaScript error object from the event handler:

err.AStack = Event.error.stack;

so, it must be this error object doesn't return it via its stack property.

It's a javascript exception. I'll see if I can step through it.