On Fri, 26 Jun 2009 22:14:09 +0200 Nicolas Petton <[email protected]> wrote:
> Le vendredi 26 juin 2009 à 22:03 +0200, Stefan Schmiedl a écrit : > > On Fri, 26 Jun 2009 21:21:13 +0200 > > Nicolas Petton <[email protected]> wrote: > > > > > > So now I not only see _where_ the problem occurred, I also see > > > > with _what data_ it occurred.... sweeet. > > > > > > > Again, I spoke a bit too soon. When will I ever learn? > > > > When I evoke errors in the REPL the backtrace contains > > much more useful info than the one displayed after the > > error has been caught. There is work to be done yet. > > I added Signal>>resumeContext from Seaside-GST.st. > > Does "self error resumeContext backtraceOn: ..." help? oooh yes. My error message now looks like this: Internal Error The program sent a message which was not understood by the receiver. did not understand #listItem: An instance of MessageNotUnderstood exception: a CoreException arguments: () tag: an Object messageText: 'did not understand #listItem:' resumeBlock: a BlockClosure onDoBlock: a BlockClosure handlerBlock: a BlockClosure context: BlockClosure>>on:do: (BlkClosure.st:192) isNested: nil previousState: 0 creator: a ListElement message: listItem: <'1'> receiver: a ListElement Backtrace: MessageNotUnderstood(Signal)>>activateHandler: (ExcHandling.st:708) MessageNotUnderstood(Exception)>>signal (AnsiExcept.st:216) Iliad.ListElement(Object)>>doesNotUnderstand: #listItem: (AnsiExcept.st:1556) [] in OnlineTester.OTTestWidget>>buildTabsOn: (OnlineTester.star#VFS.ZipFile/widgets/OTTestWidget.st:26) Interval>>do: (Interval.st:96) OnlineTester.OTTestWidget>>buildTabsOn: (OnlineTester.star#VFS.ZipFile/widgets/OTTestWidget.st:27) optimized [] in OnlineTester.OTTestWidget>>contents (OnlineTester.star#VFS.ZipFile/widgets/OTTestWidget.st:20) BlockClosure>>buildOn: (Iliad-Core.star#VFS.ZipFile/Buildables/Extensions.st:58) Iliad.DivElement(Iliad.Element)>>build: (Iliad-Core.star#VFS.ZipFile/Elements/Element.st:154) OnlineTester.OTTestWidget(Iliad.Widget)>>build (Iliad-Core.star#VFS.ZipFile/Buildables/Widget.st:121) OnlineTester.OTTestWidget(Iliad.Buildable)>>buildOn: (Iliad-Core.star#VFS.ZipFile/Buildables/Buildable.st:84) Iliad.DivElement(Iliad.Element)>>build: (Iliad-Core.star#VFS.ZipFile/Elements/Element.st:154) optimized [] in OnlineTester.OTApplication>>index (OnlineTester.star#VFS.ZipFile/application.st:17) now ... I'll go and fix that bug, I don't need it any more :-) s.
signature.asc
Description: PGP signature
_______________________________________________ help-smalltalk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-smalltalk
