Issue 4410 in pharo: CompiledMethod >> #valueWithReceiver:arguments: instead of Object >> #withArgs:executeMethod:

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 4410 in pharo: CompiledMethod >> #valueWithReceiver:arguments: instead of Object >> #withArgs:executeMethod:

pharo
Status: Accepted
Owner: [hidden email]
Labels: Milestone-1.4

New issue 4410 by [hidden email]: CompiledMethod >>  
#valueWithReceiver:arguments: instead of Object >> #withArgs:executeMethod:
http://code.google.com/p/pharo/issues/detail?id=4410

Use CompiledMethod >> #valueWithReceiver:arguments: instead of Object >>  
#withArgs:executeMethod: for evaluating a method.

=============== Diff against Morphic-ul.545 ===============

Item was changed:
  ----- Method: TextEditor>>debug:receiver:in: (in category 'do-its') -----
  debug: aCompiledMethod receiver: anObject in: evalContext

        | guineaPig debugger context |
        guineaPig := [
+               aCompiledMethod
+                       valueWithReceiver: anObject
+                        arguments: (evalContext ifNil: [ #() ] ifNotNil: [  
{ evalContext } ]) ] newProcess.
-               anObject "Use primitive 188, because primitive 189 escapes  
the debugger somehow."
-                       withArgs: (evalContext ifNil: [ #() ] ifNotNil: [ {  
evalContext } ])
-                       executeMethod: aCompiledMethod ] newProcess.
        context := guineaPig suspendedContext.
        debugger := Debugger new
                process: guineaPig
                controller: nil
                context: context.
        debugger openFullNoSuspendLabel: 'Debug it'.
        [ debugger interruptedContext method == aCompiledMethod ]
                whileFalse: [ debugger send ]!


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4410 in pharo: CompiledMethod >> #valueWithReceiver:arguments: instead of Object >> #withArgs:executeMethod:

pharo
Updates:
        Cc: [hidden email]

Comment #1 on issue 4410 by [hidden email]: CompiledMethod >>  
#valueWithReceiver:arguments: instead of Object >> #withArgs:executeMethod:
http://code.google.com/p/pharo/issues/detail?id=4410

Issue 4317 has been merged into this issue.


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4410 in pharo: CompiledMethod >> #valueWithReceiver:arguments: instead of Object >> #withArgs:executeMethod:

pharo
Updates:
        Labels: Type-Bug

Comment #2 on issue 4410 by [hidden email]: CompiledMethod >>  
#valueWithReceiver:arguments: instead of Object >> #withArgs:executeMethod:
http://code.google.com/p/pharo/issues/detail?id=4410

(No comment was entered for this change.)


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4410 in pharo: CompiledMethod >> #valueWithReceiver:arguments: instead of Object >> #withArgs:executeMethod:

pharo
Updates:
        Status: FixToInclude

Comment #3 on issue 4410 by [hidden email]: CompiledMethod >>  
#valueWithReceiver:arguments: instead of Object >> #withArgs:executeMethod:
http://code.google.com/p/pharo/issues/detail?id=4410

code attached

Attachments:
        SmalltalkEditor-debugreceiverin.st  836 bytes


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4410 in pharo: CompiledMethod >> #valueWithReceiver:arguments: instead of Object >> #withArgs:executeMethod:

pharo
Updates:
        Status: Integrated

Comment #4 on issue 4410 by [hidden email]: CompiledMethod >>  
#valueWithReceiver:arguments: instead of Object >> #withArgs:executeMethod:
http://code.google.com/p/pharo/issues/detail?id=4410

in 14207


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker