[Pharo-project] Breakpoints (was [OT] Great job guys)

Marcus Denker denker at iam.unibe.ch
Wed Jan 14 05:33:03 EST 2009


On 14.01.2009, at 10:57, Igor Stasenko wrote:

> 2009/1/14 Marcus Denker <denker at iam.unibe.ch>:
> well, i don't see a need in inruding into a source code anyway.
>
> For breaking in the middle of method, one can do following:
> - intercept entry to a method (in a way like i doing)
> - step bytecodes manually and break if IP equal to designated value
> where breakpoint is set.
> similar to what debugger does, if i'm not mistaken.
>

Yes, nice idea!

	Marcus

> A more easy to implement could be a breakpoints like 'break at seding
> a message #xxxx from given method'
> this can be done by replacing selector #xxxx in given method with
> special #breakHerePlease
> and implement  #breakHerePlease method properly.
>
>
>>
>>       Marcus
>>
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project at lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
>
> -- 
> Best regards,
> Igor Stasenko AKA sig.
> _______________________________________________
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project





More information about the Pharo-dev mailing list