org.chromium.sdk/src/org/chromium/sdk/internal/tools/v8/request/ChangeBreakpointMessage.java
equal
deleted
inserted
replaced
|
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
|
2 // Use of this source code is governed by a BSD-style license that can be |
|
3 // found in the LICENSE file. |
|
4 |
|
5 package org.chromium.sdk.internal.tools.v8.request; |
|
6 |
|
7 import org.chromium.sdk.internal.tools.v8.DebuggerCommand; |
|
8 |
|
9 /** |
|
10 * Represents a "changeBreakpoint" V8 request message. |
|
11 */ |
|
12 public class ChangeBreakpointMessage extends ContextlessDebuggerMessage { |
|
13 |
|
14 /** |
|
15 * @param breakpoint id in V8 |
|
16 * @param enabled nullable initial enabled state. Default is true |
|
17 * @param condition nullable string with break point condition |
|
18 * @param ignoreCount nullable number specifying the number of break point hits to ignore. |
|
19 * Default is 0 |
|
20 */ |
|
21 public ChangeBreakpointMessage(Long breakpoint, Boolean enabled, |
|
22 String condition, Integer ignoreCount) { |
|
23 super(DebuggerCommand.CHANGEBREAKPOINT.value); |
|
24 putArgument("breakpoint", breakpoint); |
|
25 putArgument("enabled", enabled); |
|
26 putArgument("condition", condition); |
|
27 putArgument("ignoreCount", ignoreCount); |
|
28 } |
|
29 } |