| /** |
| * |
| */ |
| package org.eclipse.dltk.rhino.dbgp; |
| |
| import java.util.HashMap; |
| |
| final class RemoveBreakPointCommand extends DBGPDebugger.Command { |
| /** |
| * |
| */ |
| private final DBGPDebugger debugger; |
| |
| /** |
| * @param debugger |
| */ |
| RemoveBreakPointCommand(DBGPDebugger debugger) { |
| this.debugger = debugger; |
| } |
| |
| @Override |
| void parseAndExecute(String command, HashMap options) { |
| this.debugger.stackmanager.removeBreakpoint((String) options.get("-d")); |
| this.debugger |
| .printResponse("<response command=\"breakpoint_remove\"\r\n" |
| + " transaction_id=\"" + options.get("-i") + "\" />"); |
| } |
| } |