Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Bajtos <miro.bajtos@gmail.com>2013-06-17 23:19:59 +0400
committerBen Noordhuis <info@bnoordhuis.nl>2013-06-26 21:54:31 +0400
commitc16963b977b3cede4cef476c275226a513831407 (patch)
treeb3bd1918ddd393991e3933b88d3b79674dc99daf /AUTHORS
parent4bc024ddecf4e0daaa5d28155d3ad5977b98a68e (diff)
src: break on uncaught exception
Most TryCatch blocks have SetVerbose flag on, this tells V8 to report uncaught exceptions to debugger. FatalException handler is called from V8 Message listener instead from the place where TryCatch was used. Otherwise uncaught exceptions are logged twice. See comment in `deps/v8/include/v8.h` for explanation of SetVerbose flag: > By default, exceptions that are caught by an external exception > handler are not reported. Call SetVerbose with true on an > external exception handler to have exceptions caught by the > handler reported as if they were not caught. The flag is used by `Isolate::ShouldReportException()`, which is called by `Isolate::DoThrow()` to decide whether an exception is considered uncaught.
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions