Don't mention obsolete Issue 548
authorpeter.rybin@gmail.com <peter.rybin@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 20 Jan 2010 17:06:23 +0000 (17:06 +0000)
committerpeter.rybin@gmail.com <peter.rybin@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 20 Jan 2010 17:06:23 +0000 (17:06 +0000)
Review URL: http://codereview.chromium.org/543121

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3665 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

samples/lineprocessor.cc

index 804f167..505dabf 100644 (file)
@@ -134,7 +134,7 @@ int RunMain(int argc, char* argv[]) {
 
   int port_number = -1;
   bool wait_for_connection = false;
-  bool support_callback = true;
+  bool support_callback = false;
   MainCycleType cycle_type = CycleInCpp;
 
   for (int i = 1; i < argc; i++) {
@@ -144,9 +144,7 @@ int RunMain(int argc, char* argv[]) {
       // alone JavaScript engines.
       continue;
     } else if (strcmp(str, "--callback") == 0) {
-      // TODO(548): implement this.
-      printf("Error: debugger agent callback is not supported yet.\n");
-      return 1;
+      support_callback = true;
     } else if (strcmp(str, "--wait-for-connection") == 0) {
       wait_for_connection = true;
     } else if (strcmp(str, "--main-cycle-in-cpp") == 0) {