| Index: src/debug.cc
|
| ===================================================================
|
| --- src/debug.cc (revision 6941)
|
| +++ src/debug.cc (working copy)
|
| @@ -59,7 +59,7 @@
|
| debug_info_list_(NULL),
|
| disable_break_(false),
|
| break_on_exception_(false),
|
| - break_on_uncaught_exception_(true),
|
| + break_on_uncaught_exception_(false),
|
| debug_break_return_(NULL),
|
| debug_break_slot_(NULL),
|
| isolate_(isolate) {
|
| @@ -632,9 +632,6 @@
|
| const int Debug::kFrameDropperFrameSize = 4;
|
|
|
|
|
| -
|
| -
|
| -
|
| void ScriptCache::Add(Handle<Script> script) {
|
| Isolate* isolate = Isolate::Current();
|
| // Create an entry in the hash map for the script.
|
| @@ -2824,8 +2821,10 @@
|
| }
|
|
|
| if (Socket::Setup()) {
|
| - agent_ = new DebuggerAgent(isolate_, name, port);
|
| - agent_->Start();
|
| + if (agent_ == NULL) {
|
| + agent_ = new DebuggerAgent(isolate_, name, port);
|
| + agent_->Start();
|
| + }
|
| return true;
|
| }
|
|
|
| @@ -3125,7 +3124,8 @@
|
|
|
|
|
| MessageDispatchHelperThread::MessageDispatchHelperThread(Isolate* isolate)
|
| - : Thread(isolate), sem_(OS::CreateSemaphore(0)), mutex_(OS::CreateMutex()),
|
| + : Thread(isolate, "v8:MsgDispHelpr"),
|
| + sem_(OS::CreateSemaphore(0)), mutex_(OS::CreateMutex()),
|
| already_signalled_(false) {
|
| }
|
|
|
|
|