Chromium Code Reviews| Index: src/debug.cc |
| =================================================================== |
| --- src/debug.cc (revision 6117) |
| +++ src/debug.cc (working copy) |
| @@ -622,7 +622,11 @@ |
| // Default call debugger on uncaught exception. |
| bool Debug::break_on_exception_ = false; |
| +#if defined(WEBOS__) |
|
Søren Thygesen Gjesse
2011/01/03 08:56:07
I think this change of the default is OK for all p
marklam
2011/01/04 20:12:13
Done. Made it unconditional.
|
| +bool Debug::break_on_uncaught_exception_ = false; |
| +#else |
| bool Debug::break_on_uncaught_exception_ = true; |
| +#endif |
| Handle<Context> Debug::debug_context_ = Handle<Context>(); |
| Code* Debug::debug_break_return_ = NULL; |
| @@ -2740,8 +2744,10 @@ |
| } |
| if (Socket::Setup()) { |
| - agent_ = new DebuggerAgent(name, port); |
| - agent_->Start(); |
| + if (agent_ == NULL) { |
| + agent_ = new DebuggerAgent(name, port); |
| + agent_->Start(); |
| + } |
| return true; |
| } |