The Meta-Environment API

nl.cwi.sen1.tide.adapters.gdb
Class SetBreakpointCmd

java.lang.Object
  extended by nl.cwi.sen1.tide.adapters.gdb.Command
      extended by nl.cwi.sen1.tide.adapters.gdb.SetBreakpointCmd

public class SetBreakpointCmd
extends Command


Field Summary
private static java.util.regex.Pattern breakPattern
           
private  int breakpoint
           
private  java.lang.String file
           
private  int linenr
           
private  java.lang.String method
           
 
Fields inherited from class nl.cwi.sen1.tide.adapters.gdb.Command
adapter
 
Constructor Summary
SetBreakpointCmd(GdbAdapter adapter, java.lang.String method)
           
SetBreakpointCmd(GdbAdapter adapter, java.lang.String file, int line)
           
 
Method Summary
 java.lang.String command()
           
 int getBreakpoint()
           
 java.lang.String getFileName()
           
 int getLineNr()
           
 boolean response(java.lang.String line)
           
 
Methods inherited from class nl.cwi.sen1.tide.adapters.gdb.Command
debugMsg, getFactory, isCompleted, setCompleted, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

breakPattern

private static java.util.regex.Pattern breakPattern

breakpoint

private int breakpoint

method

private java.lang.String method

file

private java.lang.String file

linenr

private int linenr
Constructor Detail

SetBreakpointCmd

public SetBreakpointCmd(GdbAdapter adapter,
                        java.lang.String method)

SetBreakpointCmd

public SetBreakpointCmd(GdbAdapter adapter,
                        java.lang.String file,
                        int line)
Method Detail

command

public java.lang.String command()
Specified by:
command in class Command

response

public boolean response(java.lang.String line)
Specified by:
response in class Command

getBreakpoint

public int getBreakpoint()

getFileName

public java.lang.String getFileName()

getLineNr

public int getLineNr()

The Meta-Environment API