Debugger: why generated accessors #shouldBeImplemented?
10220 Debugger-generated accessors send #shouldBeImplemented The debugger offered me the following implementation: description: aByteString self shouldBeImplemented. description := aByteString What's with line #2?! If it didn't exist, I could just accept the method and move on... ----- Cheers, Sean -- View this message in context: http://forum.world.st/Debugger-why-generated-accessors-shouldBeImplemented-t... Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
btw https://pharo.fogbugz.com/f/cases/10220/Debugger-generated-accessors-send-sh... ----- Cheers, Sean -- View this message in context: http://forum.world.st/Debugger-why-generated-accessors-shouldBeImplemented-t... Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Answered on fogbugz. 2013/6/6 Sean P. DeNigris <sean@clipperadams.com>
10220 Debugger-generated accessors send #shouldBeImplemented
The debugger offered me the following implementation: description: aByteString self shouldBeImplemented. description := aByteString
What's with line #2?! If it didn't exist, I could just accept the method and move on...
----- Cheers, Sean -- View this message in context: http://forum.world.st/Debugger-why-generated-accessors-shouldBeImplemented-t... Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
-- Clément Béra Mate Virtual Machine Engineer Bâtiment B 40, avenue Halley 59650 *Villeneuve d'Ascq*
Any chance I could get an account for that? I'm interested in the answer, but do not have a login to fogbugz. -Chris On Thu, Jun 6, 2013 at 9:30 AM, Clément Bera <bera.clement@gmail.com> wrote:
Answered on fogbugz.
2013/6/6 Sean P. DeNigris <sean@clipperadams.com>
10220 Debugger-generated accessors send #shouldBeImplemented
The debugger offered me the following implementation: description: aByteString self shouldBeImplemented. description := aByteString
What's with line #2?! If it didn't exist, I could just accept the method and move on...
----- Cheers, Sean -- View this message in context: http://forum.world.st/Debugger-why-generated-accessors-shouldBeImplemented-t... Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
-- Clément Béra Mate Virtual Machine Engineer Bâtiment B 40, avenue Halley 59650 *Villeneuve d'Ascq*
Chris Cunningham wrote
Any chance I could get an account for that? I'm interested in the answer, but do not have a login to fogbugz.
I was going to say you can read it on Penelope [1] in the mean time, but 10220 does not appear there... Anyway, near the top of the page at [1] you'll see a link to register for fogbugz (I'd love to give you a direct link, but there's no permalink... hint, hint ;) [2]). Here's the current discussion while you're waiting... Edited by Clement Bera 06/06/2013 (Today) 12:29 PM Image Version changed from (No Value) to 'Pharo3.0' This is in DynamicMessageImplementor>>#writeSourceCode self writeMethodName. self writeShouldBeImplemented. self writeGetterSourceCodeIfNecessary. self writeSetterSourceCodeIfNecessary There should be a condition for writeShouldBeImplemented. Something like : self isMessageAGetter | self isMessageASetter ifFalse: [ self writeShouldBeImplemented. ] It seems that this fix it here has no side effect. However I don't like this condition, smells like dirty code. Perhaps we should add some strategies for getter and setter ? Edited by Sean DeNigris 06/06/2013 (Today) 12:49 PM "I don't like this condition, smells like dirty code" Agreed. We're building a nice little hidden switch statement here... [1] http://bugs.pharo.org/ [2] https://pharo.fogbugz.com/f/cases/10262/Permalink-to-Penelope-registration-p... ----- Cheers, Sean -- View this message in context: http://forum.world.st/Debugger-why-generated-accessors-shouldBeImplemented-t... Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
I added you with this mail : cunningham.cb@gmail.com Go on it and click 'forgot my password' with your email. It should work. If it does not then I will ask Camillo to add you. 2013/6/6 Chris Cunningham <cunningham.cb@gmail.com>
Any chance I could get an account for that? I'm interested in the answer, but do not have a login to fogbugz.
-Chris
On Thu, Jun 6, 2013 at 9:30 AM, Clément Bera <bera.clement@gmail.com>wrote:
Answered on fogbugz.
2013/6/6 Sean P. DeNigris <sean@clipperadams.com>
10220 Debugger-generated accessors send #shouldBeImplemented
The debugger offered me the following implementation: description: aByteString self shouldBeImplemented. description := aByteString
What's with line #2?! If it didn't exist, I could just accept the method and move on...
----- Cheers, Sean -- View this message in context: http://forum.world.st/Debugger-why-generated-accessors-shouldBeImplemented-t... Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
-- Clément Béra Mate Virtual Machine Engineer Bâtiment B 40, avenue Halley 59650 *Villeneuve d'Ascq*
Thank you. On Thu, Jun 6, 2013 at 9:58 AM, Clément Bera <bera.clement@gmail.com> wrote:
I added you with this mail : cunningham.cb@gmail.com Go on it and click 'forgot my password' with your email. It should work. If it does not then I will ask Camillo to add you.
2013/6/6 Chris Cunningham <cunningham.cb@gmail.com>
Any chance I could get an account for that? I'm interested in the answer, but do not have a login to fogbugz.
-Chris
On Thu, Jun 6, 2013 at 9:30 AM, Clément Bera <bera.clement@gmail.com>wrote:
Answered on fogbugz.
2013/6/6 Sean P. DeNigris <sean@clipperadams.com>
10220 Debugger-generated accessors send #shouldBeImplemented
The debugger offered me the following implementation: description: aByteString self shouldBeImplemented. description := aByteString
What's with line #2?! If it didn't exist, I could just accept the method and move on...
----- Cheers, Sean -- View this message in context: http://forum.world.st/Debugger-why-generated-accessors-shouldBeImplemented-t... Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
-- Clément Béra Mate Virtual Machine Engineer Bâtiment B 40, avenue Halley 59650 *Villeneuve d'Ascq*
participants (3)
-
Chris Cunningham -
Clément Bera -
Sean P. DeNigris