Keyboard shortcut issues/suggestions [v3.0.0]
Posted: 08 May 2021, 01:11
@Alguimist
Once the debugger is started, the "Start Debugging - F5" menu item changes to "Continue - F5", but pressing F5 does not continue. Instead, it appears to queue the debugger to be automatically restarted when the script eventually finishes. Given that it doesn't do what the menu option indicates, I'm pretty sure this is a bug.
It appears that in Adventure, "Step Into" doesn't do anything if the script isn't already being debugged. I would suggest that it be changed to start debugging.
In Visual Studio, "Start Debugging" starts execution immediately, while "Step Into" starts debugging and breaks at the first line. Usually I want to either just run the program or run it to a breakpoint, so the Visual Studio behaviour of "Start Debugging" is more convenient than the current Adventure behaviour, which is the same as Visual Studio's "Step Into".
I would want to change some of the keyboard shortcuts to match my ingrained habits if I were to use Adventure regularly, but it looks like the keyboard shortcuts are currently hard-coded in various places. (I only did a quick search for "F5".)
Once the debugger is started, the "Start Debugging - F5" menu item changes to "Continue - F5", but pressing F5 does not continue. Instead, it appears to queue the debugger to be automatically restarted when the script eventually finishes. Given that it doesn't do what the menu option indicates, I'm pretty sure this is a bug.
It appears that in Adventure, "Step Into" doesn't do anything if the script isn't already being debugged. I would suggest that it be changed to start debugging.
In Visual Studio, "Start Debugging" starts execution immediately, while "Step Into" starts debugging and breaks at the first line. Usually I want to either just run the program or run it to a breakpoint, so the Visual Studio behaviour of "Start Debugging" is more convenient than the current Adventure behaviour, which is the same as Visual Studio's "Step Into".
I would want to change some of the keyboard shortcuts to match my ingrained habits if I were to use Adventure regularly, but it looks like the keyboard shortcuts are currently hard-coded in various places. (I only did a quick search for "F5".)