NewTools icon indicating copy to clipboard operation
NewTools copied to clipboard

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

Open labordep opened this issue 2 years ago • 8 comments

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 :

  • Pharo-11.0.0+build.688 64bits
  • Windows 11 Pro

labordep avatar May 06 '23 15:05 labordep

Same things for counter and watchpoint.

labordep avatar May 06 '23 16:05 labordep

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

MarcusDenker avatar Oct 31 '23 13:10 MarcusDenker

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

labordep avatar Oct 31 '23 14:10 labordep

Great! so we can close this

MarcusDenker avatar Oct 31 '23 14:10 MarcusDenker

@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 :

  • Build information: Pharo-11.0.0+build.707
  • Windows 11 Pro
  • VM 10.0.8.0

labordep avatar Nov 02 '23 15:11 labordep

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 avatar Nov 14 '23 11:11 labordep

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

labordep avatar Nov 14 '23 11:11 labordep

To me it never worked. :)

Ducasse avatar Nov 14 '23 11:11 Ducasse