New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debugger hides current method and buttons #238
Comments
Short animation of not resizing the debugger :-) (yes, I am holding the mouse button down :-)) Version info: OS: Ubuntu 16.04 |
The method coder does not resize anymore because it is not wanted. We should remove the resizer. |
In the first picture, I believe the problem is that method is larger than what fits in the window. At the moment, we do not resize the window. But, it should be possible to scroll to see the end of the method. Can you confirm that it's possible? |
Scrolling causes the entire stack to move up and down. The method itself doesn't move relative to its view, so I still can't see the end of the method. |
I am not sure I understand. Do you have a concrete case for me to reproduce it? Or maybe you just show me :) |
In the attached gif the highlight isn't visible under the last line (^result) (The buttons aren't hidden like in the example at the start of this issue). My understanding from what you said is that if I try scrolling up and down, the text in the current method should scroll, so what I see is the red underline under "^result", the very end of the method. But instead the whole stack scrolls up and down. |
Hi Doru, The example I gave above is from when first entering the method, so the entire method is highlighted (and "^result" should be included in that). If I step over once the first message is highlighted: (This actually raises another issue: why do I have to Step Over once to get to the first method? In Pharo 8 the first method is initially highlighted). In the next animation, "self atEnd" will return true, so it will skip the block and highlight "^return". Unfortunately the gif software doesn't visually indicate when the mouse button is pressed, but you can see the stack top changing from "GtBuffer..." to "a ByteArray". I Step Over once more and it returns to the calling method (DoIt): |
…adding to the bottom of the coder editor to allow for highlighting to be visible. feenkcom/gtoolkit#238
The debugger doesn't size method views in the stack well, making it difficult to use:
The cursor changes to an up-down arrow when it is placed over the grey drag bar at the bottom of the view, however it isn't actually possible to resize the view, so there's no way to make the highlights visible (I'll try and make an animated gif to show this).
The text was updated successfully, but these errors were encountered: