Summary: | Create dummy (empty) StackFrames if stacktrace fails | ||
---|---|---|---|
Product: | frysk | Reporter: | Mike Cvet <mcvet> |
Component: | general | Assignee: | Mike Cvet <mcvet> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: | ||
Bug Depends on: | |||
Bug Blocks: | 1633, 2936 |
Description
Mike Cvet
2006-12-14 16:15:22 UTC
frysk-core/frysk/rt: 2006-12-14 Mike Cvet <mcvet@redhat.com> * StackFactory.java (createStackFrame): Catch Exceptions coming out of StackTraceCreator, and return an empty StackFrame instead of null. Fixes #3723. * StackFrame.java (StackFrame): New constructor, taking a Task. Used to create an empty StackFrame. (getMethodName): If the method name is null, return an empty String instead. frysk-gui/frysk/gui/srcwin: 2006-12-14 Mike Cvet <mcvet@redhat.com> * CurrentStackView.java (buildTree): Won't get null StackFrames anymore, removed redundancies. Compare Tasks using their TID. * SourceBuffer.java (highlightLine): Return before doing anything if the scope of this Buffer has no source. If the incoming StackFrame has no debuginfo, try and find a frame in the stack that does. * SourceWindow.java (populateStackBrowser): Cleaned up, removed redundant checks. Fixes #3723. |