org.chromium.sdk/src/org/chromium/sdk/internal/tools/v8/request/ChangeBreakpointMessage.java
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/org.chromium.sdk/src/org/chromium/sdk/internal/tools/v8/request/ChangeBreakpointMessage.java Wed Dec 23 17:13:18 2009 -0800
@@ -0,0 +1,29 @@
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.sdk.internal.tools.v8.request;
+
+import org.chromium.sdk.internal.tools.v8.DebuggerCommand;
+
+/**
+ * Represents a "changeBreakpoint" V8 request message.
+ */
+public class ChangeBreakpointMessage extends ContextlessDebuggerMessage {
+
+ /**
+ * @param breakpoint id in V8
+ * @param enabled nullable initial enabled state. Default is true
+ * @param condition nullable string with break point condition
+ * @param ignoreCount nullable number specifying the number of break point hits to ignore.
+ * Default is 0
+ */
+ public ChangeBreakpointMessage(Long breakpoint, Boolean enabled,
+ String condition, Integer ignoreCount) {
+ super(DebuggerCommand.CHANGEBREAKPOINT.value);
+ putArgument("breakpoint", breakpoint);
+ putArgument("enabled", enabled);
+ putArgument("condition", condition);
+ putArgument("ignoreCount", ignoreCount);
+ }
+}