Re: [v8-users] Accessing an Error's stack getter without necessarily invoking it.

2014-11-17 Thread Ben Noordhuis
On Mon, Nov 17, 2014 at 6:10 AM, Francisco Tolmasky wrote: > I am writing an application that wants to examine the state of an > application without mutating it. > If the application throws an error, I'd like to be able to grab the string > stack trace located in error.stack. > In JSCore for examp

[v8-users] Accessing an Error's stack getter without necessarily invoking it.

2014-11-16 Thread Francisco Tolmasky
I am writing an application that wants to examine the state of an application without mutating it. If the application throws an error, I'd like to be able to grab the string stack trace located in error.stack. In JSCore for example, this isn't a problem because I can do Object.getOwnPropertyDesc