GLBasic forum

Feature request => IDE/Syntax => Topic started by: FutureCow on 2009-Dec-21

Title: Debugger - Don't scroll debug tab when stepping through code
Post by: FutureCow on 2009-Dec-21
I'm stepping through my code trying to find when a  variable changes to a certain value. I've got over a screenful of variables showing in the debugger and the one I'm watching is at the top of the list.
It's really annoying that every time I step through my code, the debug window scrolls down to the bottom and I have to rescroll up again to find my variable.
Can ctrl-f10 please not reset the scroll position of the debug window?
Title: Re: Debugger - Don't scroll debug tab when stepping through code
Post by: Kitty Hello on 2009-Dec-21
It's full shit, I know.
I try to get something working, so you get a tooltip when you run over a variable. Also, there should be an option to explicitly define which variables are to be printed. Maybe I make a non-modal window for that, where you can type variable names and the debugger prints the result.
Title: Re: Debugger - Don't scroll debug tab when stepping through code
Post by: FutureCow on 2009-Dec-21
It's not "full shit" it's just a "work in progress"!
My biggest wish at this point would be to be able to step through the code AND see the graphics window at the same time  :happy:.
Failing that, I'd settle for just not resetting the debug window location at the moment  :)

Mind you, the other features would be awesome too!!!
Title: Re: Debugger - Don't scroll debug tab when stepping through code
Post by: Kitty Hello on 2009-Dec-22
But you can put the windows side-by-side, no?
Title: Re: Debugger - Don't scroll debug tab when stepping through code
Post by: FutureCow on 2009-Dec-22
No. I can put the windows side by side, but as soon as I hit pause to step through the code, the display window disappears. It doesn't come back until I use run again - if I'm stepping through my code (which I do lots of) then I can't see my display window at all.
Title: Re: Debugger - Don't scroll debug tab when stepping through code
Post by: Kitty Hello on 2009-Dec-22
oh. Doh. Silly me. That has to be changed.
Title: Re: Debugger - Don't scroll debug tab when stepping through code
Post by: Moru on 2009-Dec-22
Oh yes, this I have been missing since I started with GLBasic. Didn't know it was supposed to work?
Title: Re: Debugger - Don't scroll debug tab when stepping through code
Post by: FutureCow on 2009-Dec-22
It's one of the few things I miss after moving from Blitz3D to GLBasic.
GLBasic wins hands down though!  ;)
Title: Re: Debugger - Don't scroll debug tab when stepping through code
Post by: FutureCow on 2009-Dec-24
Another fault I noticed today.
I had an out of bounds error on an array when running my code in debug mode. I had the "Jumps" tab open when I ran the program, and when it aborted I went to the debug tab - nothing there. When I ran it again (with the debug tab open before I started the program) when it crashed I had debug info.
Can the debug info please stay there until the next program run?
Title: Re: Debugger - Don't scroll debug tab when stepping through code
Post by: FutureCow on 2012-Jun-25
As this has been in the queue for a long time I thought I'd ask if anything has happened in regards to this? The non-scroll change on the debug window would really help when debugging.
Being able to display the IDE and the running program at the same time would be great too - currently once you tab away from the program you can't get it back until the next showscreen runs.
Title: Re: Debugger - Don't scroll debug tab when stepping through code
Post by: Kitty Hello on 2012-Jun-25
OK, will make it optionally.