|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gnu.glib.Struct org.gnu.glib.GObject org.gnu.gtk.GtkObject org.gnu.gtk.Widget org.gnu.gtk.Container org.gnu.gtk.Bin org.gnu.gtk.Window frysk.gui.srcwin.SourceWindow
public class SourceWindow
The SourceWindow displays the source or assembly level view of a Task's current state of execution. It has the ability to display code that has been inlined as well as optimized out by the compiler. It also provides an interface to allow to user to query for variable values, set traces on variables, and perform other such traditional debugging tasks.
Field Summary | |
---|---|
static String |
CASE_FIND
|
static String |
CLOSE_FIND
|
static String |
FILE_SELECTOR
|
static String |
FILECHOOSER_GLADE
|
static String |
FIND_BOX
|
static String |
FIND_LABEL
|
static String |
FIND_TEXT
|
static String |
GLADE_FILE
|
static String |
GLADE_TOOLBAR_NAME
|
static String |
HIGHLIGHT_FIND
|
static String |
LINE_ENTRY
|
static String |
LINE_LABEL
|
static String |
NEXT_FIND
|
static String |
PREV_FIND
|
static String |
PROC_LIST_GLADE
|
static String |
SOURCE_WINDOW
|
static String |
TEXT_WINDOW
|
static String |
VIEW_COMBO_BOX
|
Constructor Summary | |
---|---|
SourceWindow(org.gnu.glade.LibGlade glade,
DebugInfoFrame trace)
Creates a new source window with the given properties. |
|
SourceWindow(org.gnu.glade.LibGlade glade,
DebugInfoFrame[] traces)
Creates a new source window with the given properties. |
|
SourceWindow(org.gnu.glade.LibGlade glade,
Proc proc)
Creates a new source window with the given properties. |
|
SourceWindow(org.gnu.glade.LibGlade glade,
Proc[] procs)
Creates a new source window with the given properties. |
|
SourceWindow(org.gnu.glade.LibGlade glade,
Proc proc,
frysk.gui.srcwin.SourceWindowFactory.AttachedObserver ao)
Creates a new source window with the given properties. |
Method Summary | |
---|---|
void |
activateProc()
activateProc is called when the user has selected an executable from the FileChooserDialog. |
void |
addVariableTrace(String var)
Adds the selected variable to the variable trace window |
void |
appendTask(Proc proc)
|
DOMFrysk |
getDOM()
|
frysk.gui.srcwin.SourceWindow.LockObserver |
getLockObserver()
|
CurrentStackView |
getStackView()
|
SteppingEngine |
getSteppingEngine()
|
Proc |
getSwProc()
Getters and Setters |
View |
getView()
|
boolean |
isRunning()
|
void |
populateStackBrowser(DebugInfoFrame[][] frames)
Populates the stack browser window |
void |
removeDisplay(UpdatingDisplayValue disp)
Removes the given display from the list of watched expressions |
void |
removeVariableTrace(String var)
Removes the given variable from the list of watched variables. |
void |
setShowToolbar(boolean value)
Toggles whether the toolbar is visible |
void |
updateThreads()
|
Methods inherited from class org.gnu.gtk.Window |
---|
addAccelGroup, deiconify, destroy, fullscreen, getAcceptFocus, getDefaultIconList, getFocusOnMap, getFocusWidget, getGravity, getIcon, getIconList, getIconName, getPosition, getScreen, getSize, getSkipPagerHint, getSkipTaskbarHint, getTitle, getTransientParent, getType, getWindow, hasToplevelFocus, iconify, isActive, isDestroyed, listToplevelWindows, maximize, move, present, removeAccelGroup, resize, setAcceptFocus, setAutoStartupNotification, setDecorated, setDefaultIcon, setDefaultIconFromFile, setDefaultIconList, setDefaultIconName, setDefaultSize, setDefaultWidget, setFocusOnMap, setFocusWidget, setGeometryHints, setGravity, setIcon, setIconFromFile, setIconList, setIconName, setKeepAbove, setKeepBelow, setModal, setPosition, setResizable, setScreen, setSkipPagerHint, setSkipTaskbarHint, setTitle, setTransientParent, stick, unfullscreen, unmaximize, unstick |
Methods inherited from class org.gnu.gtk.Bin |
---|
getChild |
Methods inherited from class org.gnu.gtk.Container |
---|
add, addListener, getBooleanChildProperty, getBorderWidth, getChildProperty, getChildren, getEventListenerClass, getEventType, getIntChildProperty, getResizeMode, remove, removeListener, resizeChildren, setBooleanChildProperty, setBorderWidth, setChildProperty, setIntChildProperty, setResizeMode |
Methods inherited from class org.gnu.gtk.Widget |
---|
activate, addAccelerator, addEvents, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, canActivateAccel, createContext, createLayout, draw, drawArea, drawArea, finish, getAccessible, getAllocation, getCanFocus, getColormap, getContext, getData, getDisplay, getDragData, getExtensionEvents, getModifierStyle, getName, getParent, getParentWindow, getPointer, getRootWindow, getSensitive, getStyle, getToplevel, getWidget, getWindow, grabDefault, grabFocus, hasFocus, hasScreen, hide, hideAll, highlight, highlight, intersect, isAncestor, makeWidget, modifyStyle, popColormap, pushColormap, realize, removeAccelerator, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, reparent, setBackgroundColor, setBaseColor, setCanFocus, setColormap, setDoubleBuffered, setDragDestination, setDragIcon, setDragIconPixbuf, setDragIconStock, setDragSource, setEvents, setExtensionEvents, setFont, setForegroundColor, setMinimumSize, setName, setNoDragDestination, setNoDragSource, setSensitive, setTextColor, shapeCombineMask, show, showAll, unHighlight, unHighlight |
Methods inherited from class org.gnu.gtk.GtkObject |
---|
sink |
Methods inherited from class org.gnu.glib.GObject |
---|
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, collect, freezeNotify, getBooleanProperty, getData, getDoubleProperty, getFloatProperty, getGObjectFromHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getPixbufProperty, getProperty, getStringProperty, hasProperty, notify, removeEventHandler, removeListener, setBooleanProperty, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setPixbufProperty, setProperty, setStringProperty, thawNotify |
Methods inherited from class org.gnu.glib.Struct |
---|
equals, getHandle, getNullHandle, hashCode |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String LINE_ENTRY
public static final String FIND_TEXT
public static final String FIND_BOX
public static final String FIND_LABEL
public static final String LINE_LABEL
public static final String NEXT_FIND
public static final String PREV_FIND
public static final String HIGHLIGHT_FIND
public static final String CASE_FIND
public static final String CLOSE_FIND
public static final String GLADE_TOOLBAR_NAME
public static final String FILE_SELECTOR
public static final String VIEW_COMBO_BOX
public static final String TEXT_WINDOW
public static final String SOURCE_WINDOW
public static final String GLADE_FILE
public static final String FILECHOOSER_GLADE
public static final String PROC_LIST_GLADE
Constructor Detail |
---|
public SourceWindow(org.gnu.glade.LibGlade glade, Proc proc)
SourceWindowFactory
class.
glade
- The LibGlade object that contains the window for this
instanceproc
- The Proc to have this SourceWindow observepublic SourceWindow(org.gnu.glade.LibGlade glade, Proc[] procs)
SourceWindowFactory
class.
glade
- The LibGlade object that contains the window for this
instanceprocs
- The array of Procs to have this new SourceWindow
observespublic SourceWindow(org.gnu.glade.LibGlade glade, DebugInfoFrame trace)
SourceWindowFactory
class.
glade
- The LibGlade object that contains the window for this
instancetrace
- The stack frame that represents the current state of
executionpublic SourceWindow(org.gnu.glade.LibGlade glade, DebugInfoFrame[] traces)
SourceWindowFactory
class.
glade
- The LibGlade object that contains the window for this
instancetraces
- The stack frames that represents the current state of
executionpublic SourceWindow(org.gnu.glade.LibGlade glade, Proc proc, frysk.gui.srcwin.SourceWindowFactory.AttachedObserver ao)
SourceWindowFactory
class.
glade
- The LibGlade object that contains the window for this
instanceproc
- The Proc to have this SourceWindow observeao
- The AttachedObserver currently blocking the given ProcMethod Detail |
---|
public void populateStackBrowser(DebugInfoFrame[][] frames)
frames
- An array of DebugInfoFrames used to popuate information
inside the stack frame window.public void addVariableTrace(String var)
var
- The variable to tracepublic void removeVariableTrace(String var)
var
- The value to removepublic void removeDisplay(UpdatingDisplayValue disp)
disp
- The display to removepublic void updateThreads()
public void appendTask(Proc proc)
public Proc getSwProc()
public DOMFrysk getDOM()
public View getView()
public CurrentStackView getStackView()
public boolean isRunning()
public frysk.gui.srcwin.SourceWindow.LockObserver getLockObserver()
public SteppingEngine getSteppingEngine()
public void activateProc()
public void setShowToolbar(boolean value)
value
- Whether or not to show the toolbar
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |