start a Debug session on bash and once the source window is supposed to come up there are an endless supply of these: java.lang.NullPointerException at org.eclipse.cdt.internal.core.parser.Parser.consume(FryskGui) at org.eclipse.cdt.internal.core.parser.Parser.errorHandling(FryskGui) at org.eclipse.cdt.internal.core.parser.Parser.failParseWithErrorHandling(FryskGui) at org.eclipse.cdt.internal.core.parser.Parser.translationUnit(FryskGui) at org.eclipse.cdt.internal.core.parser.Parser.parse(FryskGui) at frysk.dom.cparser.CDTParser.parse(FryskGui) at frysk.dom.DOMImage.addSource(FryskGui) at frysk.rt.Line.getDOMSource(FryskGui) at frysk.gui.srcwin.CurrentStackView.appendRows(FryskGui) at frysk.gui.srcwin.CurrentStackView.buildTree(FryskGui) at frysk.gui.srcwin.CurrentStackView.<init>(FryskGui) at frysk.gui.srcwin.SourceWindow.populateStackBrowser(FryskGui) at frysk.gui.srcwin.SourceWindow.finishSourceWin(FryskGui) at frysk.gui.srcwin.SourceWindow.access$32(FryskGui) at frysk.gui.srcwin.SourceWindow$2.run(FryskGui) at org.gnu.glib.CustomEvents.runEvents(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)
This also occurs when starting the source window on a "sleep" program.
Hmmmm, at second glance this error is different. I fixed the "sleep" problem I mentioned in the earlier comment. I just tried this with the latest cvs checkout and I don't see this error now trying to attach to bash. Do you have the bash debuginfo installed or something else? Could you verify you still get this? Thanks.
Fixed. Now when the parser gets an NPE on a source file it leaves it unmarked and marks it as "unparsed" in it DOMSource element.