Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Unified Diff: src/debug.cc

Issue 5980006: Misc debugger enhancements and bug fixes.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698