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

Unified Diff: tests/standalone/debugger/debug_lib.dart

Issue 14864024: Add a debugger test for closure breakpoints (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 months 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: tests/standalone/debugger/debug_lib.dart
===================================================================
--- tests/standalone/debugger/debug_lib.dart (revision 22595)
+++ tests/standalone/debugger/debug_lib.dart (working copy)
@@ -241,6 +241,12 @@
RunCommand.step() {
template = {"id": 0, "command": "stepOver", "params": {"isolateId": 0}};
}
+ RunCommand.stepInto() {
+ template = {"id": 0, "command": "stepInto", "params": {"isolateId": 0}};
+ }
+ RunCommand.stepOut() {
+ template = {"id": 0, "command": "stepOut", "params": {"isolateId": 0}};
+ }
void send(Debugger debugger) {
debugger.sendMessage(template);
debugger.isPaused = false;
@@ -250,8 +256,9 @@
Resume() => new RunCommand.resume();
Step() => new RunCommand.step();
+StepInto() => new RunCommand.stepInto();
+StepOut() => new RunCommand.stepOut();
-
class SetBreakpointCommand extends Command {
int line;
SetBreakpointCommand(int this.line) {

Powered by Google App Engine
This is Rietveld 408576698