On 09.01.2009, at 16:19, Stéphane Ducasse wrote:

> one of the point about breakpoint is that they should not get the
> method dirty.
> I know that some breakpoint code has been harvested but I do not
> remember how
> to use it.
>


There is a very simple breakpoint mechanism in Pharo (in Squeak, too,  
but
it was a bit broken there).

To try: There is a "toggle break on entry" item in the menu of methods  
in the
old browser.

Technically, this just recompiles the method with a call to #break at  
the beginning.

Could be improved a lot.

        Marcus



> Stef
>
> On Jan 9, 2009, at 10:27 AM, Janko Mivšek wrote:
>
>> Dale Henrichs wrote:
>>> ----- "Janko Mivšek" <[email protected]> wrote:
>>>
>>> | And when you are already doing that, introduce also breakpoints
>>> back in
>>> | Pharo as they are on GLASS GemTools. Very intuitive and the same
>>> as on
>>> | most other Smalltalks. If they can be supported in GemTools, why
>>> | aren't yet in Pharo? Any technical reason?
>>>
>>> Breakpoints in GLASS/GemTools are taking advantage of the
>>> breakpoint feature in the GemStone/S VM. Remember, Squeak/Pharo are
>>> used as an OmniBrowser client for GLASS -- the debugger is running
>>> in a GemStone vm and the UI is running in the Squeak/Pharo vm.
>>
>> What I like about breakpoints in GemTools is the simplicity from
>> usability standpoint. And similarity of use to other Smalltaltalks.
>>
>> And because their UI part is implemented in OmniBrowser on GemTools,
>> they should be easily ported back to Pharo OmniBrowser, even that
>> breakpoints in GS/S are implemented differently than in Squeak.
>>
>> In other words, let we port the UI for breakpoints first, on top of
>> whatever Squeak supports for breakpoints currently. Later breakpoints
>> can be enhanced on VM level as well.
>>
>> Janko
>>
>> -- 
>> Janko Mivšek
>> AIDA/Web
>> Smalltalk Web Application Server
>> http://www.aidaweb.si
>>
>> _______________________________________________
>> 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


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

Reply via email to