That way, nobody has to worry about null StackFrames in the SourceWindow.
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.