equal
deleted
inserted
replaced
147 } |
147 } |
148 public static JdbCommand stopIn(String targetClass, String methodName) { |
148 public static JdbCommand stopIn(String targetClass, String methodName) { |
149 return new JdbCommand("stop in " + targetClass + "." + methodName); |
149 return new JdbCommand("stop in " + targetClass + "." + methodName); |
150 } |
150 } |
151 |
151 |
|
152 // clear <class id>:<line> -- clear a breakpoint at a line |
|
153 public static JdbCommand clear(String targetClass, int lineNum) { |
|
154 return new JdbCommand("clear " + targetClass + ":" + lineNum); |
|
155 } |
|
156 |
152 // exception type used by catch/ignore |
157 // exception type used by catch/ignore |
153 public enum ExType{ |
158 public enum ExType{ |
154 uncaught, |
159 uncaught, |
155 caught, |
160 caught, |
156 all |
161 all |
237 |
242 |
238 // watch [access|all] <class id>.<field name> |
243 // watch [access|all] <class id>.<field name> |
239 public static JdbCommand watch(String classId, String fieldName) { |
244 public static JdbCommand watch(String classId, String fieldName) { |
240 return new JdbCommand("watch " + classId + "." + fieldName); |
245 return new JdbCommand("watch " + classId + "." + fieldName); |
241 } |
246 } |
|
247 |
|
248 public static JdbCommand pop() { |
|
249 return new JdbCommand("pop"); |
|
250 } |
|
251 |
|
252 public static JdbCommand redefine(String classId, String classFileName) { |
|
253 return new JdbCommand("redefine " + classId + " " + classFileName); |
|
254 } |
242 } |
255 } |