[IDE/DEBUGGER] - Add 'Goto current line'

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
skywalk
Addict
Addict
Posts: 4211
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

[IDE/DEBUGGER] - Add 'Goto current line'

Post by skywalk »

While debugging, I sometimes lose my way with open files and scrolling code and reviewing variable contents.
How do I get back to the current line without executing the next statement or searching for the breakpoint background color?
Is there a Goto current line or Show Next Statement?
If I hit [Ctrl+G] and [Enter] for a blank entry, it would be cool if it jumped to the current line in the debug.
Or if the debugger log could show the current line number?

Thanks.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: [IDE/DEBUGGER] - Add 'Goto current line'

Post by MachineCode »

In the Preferences for Shortcuts, you'll see that Ctrl+L always goes back to the previous line. Is that what you need?
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
User avatar
skywalk
Addict
Addict
Posts: 4211
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: [IDE/DEBUGGER] - Add 'Goto current line'

Post by skywalk »

Yeah, [Ctrl+L] does not always work. It scrolls through a history of moves. And if I am in a different file or tab, it can get lost.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Post Reply