backtraces in SUnit browser
By Paolo Bonzini - Posted on September 21st, 2009
| Project: | GNU Smalltalk |
| Component: | VisualGST |
| Category: | bug |
| Priority: | critical |
| Assigned: | MrGwen |
| Status: | fixed |
Description
Type into an SUnit browser's code pane when no method is selected:
Object: FileStream new "<0x7f8e3d0a82a0>" error: did not understand #acceptVisitor: MessageNotUnderstood(Exception)>>signal (AnsiExcept.st:216) FileStream(Object)>>doesNotUnderstand: #acceptVisitor: (AnsiExcept.st:1556) VisualGST.SyntaxHighlighter(STInST.RBProgramNodeVisitor)>>visitNode: (Parser.star#VFS.ZipFile/RBParseNodes.st:49) VisualGST.SyntaxHighlighter class>>highlight:in: (VisualGST.star#VFS.ZipFile/SyntaxHighlighter.st:14) VisualGST.GtkSourceCodeWidget>>changed (VisualGST.star#VFS.ZipFile/GtkSourceCodeWidget.st:163)
I also got this but cannot reproduce it:
Object: GtkTextView new: 7 error: did not understand #hasChanged MessageNotUnderstood(Exception)>>signal (AnsiExcept.st:216) GTK.GtkTextView(Object)>>doesNotUnderstand: #hasChanged (AnsiExcept.st:1556) VisualGST.GtkSourceCodeWidget>>hasChanged (VisualGST.star#VFS.ZipFile/GtkSourceCodeWidget.st:175) VisualGST.GtkSUnit>>hasChanged (VisualGST.star#VFS.ZipFile/SUnit/GtkSUnit.st:451) VisualGST.GtkSUnit>>checkCodeWidget (VisualGST.star#VFS.ZipFile/SUnit/GtkSUnit.st:423) VisualGST.GtkSUnit>>onNamespaceChanged (VisualGST.star#VFS.ZipFile/SUnit/GtkSUnit.st:290)
Updates
#1 submitted by Gwenael Casaccio on Wed, 09/23/2009 - 12:55
| Assigned to: | Unassigned | » MrGwen |
The RBParser is used for real-time syntax highlighting these exceptions are normals (They are catched but the error is output)
#2 submitted by Gwenael Casaccio on Wed, 09/23/2009 - 16:48
| Status: | active | » committed |
This was a problem with a return value : should be a node but if RBParse raises an exception the return value was stderr
#3 submitted by Paolo Bonzini on Wed, 09/23/2009 - 18:38
| Status: | committed | » fixed |
Aha, that's it!
