[Pydev-cvs] org.python.pydev.debug/src/org/python/pydev/debug/model/remote SetBreakpointCommand.java
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2005-12-17 12:58:54
|
Update of /cvsroot/pydev/org.python.pydev.debug/src/org/python/pydev/debug/model/remote In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17152/src/org/python/pydev/debug/model/remote Modified Files: SetBreakpointCommand.java Log Message: Index: SetBreakpointCommand.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.debug/src/org/python/pydev/debug/model/remote/SetBreakpointCommand.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** SetBreakpointCommand.java 15 Sep 2005 16:11:34 -0000 1.2 --- SetBreakpointCommand.java 17 Dec 2005 12:58:44 -0000 1.3 *************** *** 13,25 **** public String file; public Object line; ! public SetBreakpointCommand(AbstractRemoteDebugger debugger, String file, Object line) { super(debugger); this.file = file; this.line = line; } public String getOutgoing() { ! return makeCommand(CMD_SET_BREAK, sequence, file + "\t" + line.toString()); } --- 13,30 ---- public String file; public Object line; + public String condition; ! public SetBreakpointCommand(AbstractRemoteDebugger debugger, String file, Object line, String condition) { super(debugger); this.file = file; this.line = line; + if (condition == null) + this.condition = "None"; + else + this.condition = condition; } public String getOutgoing() { ! return makeCommand(CMD_SET_BREAK, sequence, file + "\t" + line.toString() + "\t" + condition); } |