Bug 4118 - Get DOM pointers out of StackFrame and into Line
Summary: Get DOM pointers out of StackFrame and into Line
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: 2935 3392
  Show dependency treegraph
 
Reported: 2007-03-01 15:47 UTC by Mike Cvet
Modified: 2007-03-02 15:59 UTC (History)
1 user (show)

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-03-01 15:47:18 UTC
Since a StackFrame can have multiple lines in multiple files, need to represent 
all of them. Thus, a StackFrame pointing to a single DOMSource is insufficient.
Comment 1 Mike Cvet 2007-03-02 15:59:52 UTC
2007-03-02  Mike Cvet  <mcvet@redhat.com>

	* Line.java (proc, source, function): New fields.
	(Line): Takes an additional Proc.
	(getDOMFunction): Added. Creates and returns the DOMFunction
	representing this Line on demand. Fixes #4118.
	(getDOMSource): Added. Creates and returns the DOMSource 
	representing this Line on demand. Fixes #4118.
	* StackFrame.java (setDOMFunction): Removed via #4118.
	(setDOMSource): Ditto.
	(getDOMFunction): Ditto.
	(getDOMSource): Ditto.
	(getLines): Pass in this StackFrame's Proc to the new Line.

2007-03-02  Mike Cvet  <mcvet@redhat.com>

	* DOMFactory.java: General fixups with respect to moving
	StackFrame DOM info to its Line objects.
	* DOMSource.java: Ditto.

2007-03-02  Mike Cvet  <mcvet@redhat.com>

	* SourceWindow.java: Fixups for the move of DOM information from 
	StackFrame to its Line array. Fixes #4118.
	* SourceView.java: Ditto.
	* SourceBuffer.java: Ditto.
	* CurrentStackView.java: Ditto.
	* InlineBuffer.java: Ditto.