I see, thanks Lukas for the info.

My wish for the new editor i'm developing is to able to insert halts, into the 
code just as any other IDE.
By selecting the statement  and indicating by some means to insert a halt ( 
called breakpoint in non-proccess reified languages).

Would be nice to get that code, if not i'll implement my own debugging wrapper.

Fernando

On Apr 12, 2010, at 11:11 AM, Lukas Renggli wrote:

>> Hi,  can we inserts halt's into methods without modifying source code, using 
>> pragmas maybe?
> 
> This has nothing to do with pragmas. Pragmas do not change execution
> behavior of a compiled method. Also pragmas are in the source code, so
> you cannot add them without changing the source.
> 
> There was some work on annotations by Marcus, this goes more into the
> direction you are looking for.
> 
> What I would do is to replace a compiled method with a custom object
> that implements #run:with:in: and that opens a debugger at the right
> place.
> 
> Lukas
> 
> -- 
> Lukas Renggli
> www.lukas-renggli.ch
> 
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


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

Reply via email to