pharo-spec / NewTools

All development tools for Pharo, developed with Spec
21 stars 53 forks source link

Add a break point into a method should not disapear the method when a protocol is selected #515

Open labordep opened 1 year ago

labordep commented 1 year ago

When I'm adding a break point by double click into a method directly in head bar (at the left of the source code editor), the method disapear ! This is not convenient and each time I need to find my method which have moved into "breakpoints" protocol.

See my capture to have an example :

On the first part there is no problem because I haven't selected a protocol (00:00 to 00:08. After I select a protocol and this is not good : my method disappears when I remove or add the breakpoint.

https://user-images.githubusercontent.com/49183340/236634408-3d81858d-26bc-40e1-9532-906b188c21b5.mp4

My config :

labordep commented 1 year ago

Same things for counter and watchpoint.

MarcusDenker commented 11 months ago

I checked both Pharo11 and Pharo12 and the method does not disappear (the break is not rendered when refreshing, though)

labordep commented 11 months ago

I haven't seen this problem since this summer, so probably resolved by a side effect :)

MarcusDenker commented 11 months ago

Great! so we can close this

labordep commented 11 months ago

@MarcusDenker I have the problem today :( Can you reopen this issue ? Unfortunately when I want to capture a video the problem disappear...

This is my config :

labordep commented 11 months ago

I cannot reproduce at each time the problem, but I have it when I double click in the margin to place a breakpoint. Sometimes all the source code of the method is rewrited as a decompiled code, and without possibility to rewind! There is no trace of the source code modification in the history or the changes!

labordep commented 11 months ago

I don't know how to help but this problem is regularly for me.

Ducasse commented 11 months ago

To me it never worked. :)