how to tell whether we are running inside a try/catch block?

Ali Çehreli acehreli at yahoo.com
Fri Oct 25 07:16:55 PDT 2013


On 10/25/2013 04:12 AM, Timothee Cour wrote:

 > the stack would already be unwinded and there'd be no way to go back 
in time
 > to the point where the relevant exception got thrown.

Another spot is the constructor of the exception. We print the stack 
contents by libunwind in a C++ project. (Never tried in D.)

Ali



More information about the Digitalmars-d-learn mailing list