| Index: src/d8.cc
|
| ===================================================================
|
| --- src/d8.cc (revision 1024)
|
| +++ src/d8.cc (working copy)
|
| @@ -106,14 +106,14 @@
|
| Handle<Script> script = Script::Compile(source, name);
|
| if (script.IsEmpty()) {
|
| // Print errors that happened during compilation.
|
| - if (report_exceptions)
|
| + if (report_exceptions && !i::FLAG_debugger)
|
| ReportException(&try_catch);
|
| return false;
|
| } else {
|
| Handle<Value> result = script->Run();
|
| if (result.IsEmpty()) {
|
| // Print errors that happened during execution.
|
| - if (report_exceptions)
|
| + if (report_exceptions && !i::FLAG_debugger)
|
| ReportException(&try_catch);
|
| return false;
|
| } else {
|
|
|