Home | History | Annotate | Download | only in cctest

Lines Matching full:debugger

54 using ::v8::internal::Debugger;
430 // Check that the debugger has been fully unloaded.
432 // Check that the debugger context is cleared and that there is no debug
433 // information stored for the debugger.
441 debugger related objects left.
467 Isolate::Current()->debugger()->never_unload_debugger_ = false;
468 Isolate::Current()->debugger()->UnloadDebugger();
475 // Check that the debugger has been fully unloaded.
477 // Let debugger to unload itself synchronously
1082 // parts of the debugger into architecture dependent files. This
2357 // Test that the debugger statement causes a break.
2364 v8::Script::Compile(v8::String::New("function bar(){debugger}"))->Run();
2366 "function foo(){debugger;debugger;}"))->Run();
2372 // Run function with debugger statement
2376 // Run function with two debugger statement
2385 // Test setting a breakpoint on the debugger statement.
2392 v8::Script::Compile(v8::String::New("function foo(){debugger;}"))->Run();
2396 // The debugger statement triggers breakpint hit
2595 " debugger;\n"
3707 "function foo(){debugger;Math.sin(1);}",
3746 "function foo(){ debugger; bar.apply(this, [1,2,3]); }",
3768 // Without stepping only the debugger statement is hit.
3785 "function foo(a){ debugger;"
3819 // Without stepping only the debugger statement is hit.
3861 // debugger is called correctly and the number of message callbacks is used to
4694 // Multithreaded tests of JSON debugger protocol
4863 /* Tests the message queues that hold debugger commands and
4864 * response messages to the debugger. Fills queues and makes
4869 // This is the debugger thread, that executes no v8 calls except
4870 // placing JSON debugger commands in the queue.
4952 // source_3 includes a debugger statement, which causes a break event.
4953 // Wait on break event from hitting "debugger" statement
4955 // These should execute after the "debugger" statement in source_2
4989 const char* source_3 = "a = 4; debugger; a = 5; a = 6; a = 7;";
5070 // Tests that all client data passed to the debugger are sent to the handler.
5117 * debugger thread. It then changes the value of a
5230 /* In this test, the debugger evaluates a function with a breakpoint, after
5485 // function called in the context of the debugger. If no data parameter is
5496 // function called in the context of the debugger. If no data parameter is
5508 // in the debugger.
5517 // JavaScript function in the debugger.
5526 // called in the debugger. It also tests that functions called in the debugger
5543 // Function to test using a JavaScript with closure in the debugger.
5550 // Test functions called through the debugger.
5589 // Calling a function through the debugger returns 0 frames if there are
5607 // Test that a parameter can be passed to a function called in the debugger.
5610 // Test that a function with closure can be run in the debugger.
5626 // Debugger message handler which counts the number of breaks.
5644 // Check debugger is unloaded before it is used.
5705 // Sends continue command to the debugger.
5718 // Debugger message handler which counts the number of times it is called.
5738 // Check debugger is unloaded before it is used.
5766 // Debugger message handler which clears the message handler while active.
5781 // Check debugger
5799 /* In this test, the debugger waits for a command on a breakpoint
5903 * The DebugMessageDispatchHandler is executed from the debugger thread
5972 i::Debugger* debugger = i::Isolate::Current()->debugger();
5990 debugger->StartAgent("test", kPort1);
5991 debugger->StopAgent();
5994 ok = debugger->StartAgent("test", kPort2);
5996 debugger->WaitForAgent();
6006 debugger->StopAgent();
6014 debugger->StartAgent("test", kPort3);
6015 debugger->StopAgent();
6068 // Receive a debugger agent protocol message.
6087 // Create a socket server to receive a debugger agent message.
6212 " debugger;\n"
6317 const char* source = "function f() { debugger; }";
6373 const char* script = "function f() { debugger; g(); } function g() { }";
6380 // Call f then g. The debugger statement in f will casue a break which will
6481 const char* source = "function f() { eval('debugger;'); }";
6538 "\"arguments\":{\"expression\":\"debugger;\","
6560 // in 'evaluate' debugger request.
6598 // Request the loaded scripts to initialize the debugger script cache.
6661 // Request the loaded scripts to initialize the debugger script cache.
6721 // Setting listener to NULL should cause debugger unload.
6725 // Compilation cache should be disabled when debugger is active.
6747 // Setting message handler to NULL should cause debugger unload.
6751 // Compilation cache should be disabled when debugger is active.
6785 debugger unload.
6820 // event. In case of an exception in debugger code after compile event is not
7090 // Save handles to the debugger and debugee contexts to be used in
7105 // Create a function that invokes debugger.
7108 "function bar(x) { debugger; }"
7147 v8::Script::Compile(v8::String::New("(function(){debugger;})();"))->Run();
7398 // Set the debug break to enter the debugger as soon as possible.
7498 " if (b) debugger; \n"
7535 // When doing StepNext through the first script, the debugger is not reset
7537 // debugger to step into Array.prototype.forEach breaks inside the callback
7549 const char* script_1 = "debugger; throw new Error();";
7577 CompileRun("debugger;");
7581 CompileRun("debugger;");