[Cuis-dev] Unreadable Exception messages

Mariano Montone marianomontone at gmail.com
Thu Jun 16 12:02:15 PDT 2022


El 16/6/22 a las 15:37, Juan Vuletich escribió:
>
> I'm sure I'm not getting what you say. Can you provide an easy to 
> reproduce example?

This particular problem triggers at: Compiler>>notify: aString at: location


The raised exception is very rich:


notify: aString at: location
     "Refer to the comment in Object|notify:."

     ^requestor == nil
         ifTrue: [SyntaxErrorNotification
                     inClass: class
                     category: category
                     withCode:
                         (sourceStream contents
                             copyReplaceFrom: location
                             to: location - 1
                             with: aString)
                     doitFlag: false
                     errorMessage: aString
                     location: location]
         ifFalse: [requestor
                     notify: aString
                     at: location
                     in: sourceStream]


But I'm not being able to inspect it. I would like to not only visualize 
it, but perhaps inspect all its instance variable arguments.

But I don't find an easy way to do it form the debugger. I'm still 
searching through the backtrace 🤷‍♂️
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20220616/e24953d1/attachment.htm>


More information about the Cuis-dev mailing list