Hm... i guess i would have to either keep some sort of weak map to map each exception to its stack trace, or remember one set of exception/stack trace per catch block?
Yang On Feb 2, 2012 9:36 PM, <[email protected]> wrote: > Consider the difference in behavior between: > > try { > something_with_exception(); > } catch (e) { > throw e; > } > > and > > try { > something_with_exception(); > } catch (e) { > try { > something_with_exception(); > } catch (a) { > } > throw e; > } > > Rethrown exceptions would have completely different stacktraces in this > case. > > http://codereview.chromium.**org/9310063/<http://codereview.chromium.org/9310063/> > -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
