Bug 4308 - SourceWindow backtraces via variable watch
Summary: SourceWindow backtraces via variable watch
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Mike Cvet
URL:
Keywords:
Depends on:
Blocks: 1633
  Show dependency treegraph
 
Reported: 2007-04-02 14:30 UTC by Mike Cvet
Modified: 2007-04-03 19:31 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Cvet 2007-04-02 14:30:43 UTC
... but then goes away as soon as the window is stepped a single time.

java.lang.NullPointerException
   at frysk.cli.hpd.ExprSymTab.getDie(FryskGui)
   at frysk.cli.hpd.ExprSymTab.get(FryskGui)
   at frysk.expr.CppTreeParser.expr(FryskGui)
   at frysk.expr.CppTreeParser.expr(FryskGui)
   at frysk.cli.hpd.SymTab.print(FryskGui)
   at frysk.gui.srcwin.SourceBuffer.getVariable(FryskGui)
   at frysk.gui.srcwin.SourceView.mousedOverText(FryskGui)
   at frysk.gui.srcwin.SourceView$SourceViewListener.mouseMotionEvent(FryskGui)
   at org.gnu.gtk.Widget.fireMouseMotionEvent(libgtkjava-2.8.so)
   at org.gnu.gtk.Widget.handleMouseMotion(libgtkjava-2.8.so)
   at org.gnu.gtk.Gtk.gtk_main(libgtkjava-2.8.so)
   at org.gnu.gtk.Gtk.main(libgtkjava-2.8.so)
   at frysk.gui.Gui.gui(FryskGui)
   at frysk.gui.FryskGui.main(FryskGui)
Comment 1 Mike Cvet 2007-04-03 20:31:17 UTC
Log message:
	2007-04-03  Mike Cvet  <mcvet@redhat.com>
	
	* SourceWindow.java (symTab): Now an array.
	(SourceWindow): Allocate the SymTab array to a length the same as the
	number of observed Processes by the SourceWindow.
	(finishSourceWindow): Send index into generateProcStackTrace().
	(updateShownStackFrame): Re-initialize current SymTab for given
	process before refreshing its StackFrames. Fixes #4308.
	(generateProcStackTrace): Takes an int parameter. Initialize SymTab
	array index specified by parameter.
	(LockObserver.update): Send global process index int into
	generateProcStackTrace().