So I've got a long script, several thousand lines, and I want to step through it while watching the watch list to see what my latest mistake might be. I have strategically placed a breakpoint to get me through several long loops. After the breakpoint I start stepping through using the F8 key. Suddenly... after stepping through a few hundred lines, I see a mistake. In order to fix the mistake I need to exit debug mode so I select the bright red icon that stops debug. At that moment the script view jumps to the first page of the script. Now I have to dig through the script and try to figure out where it was that I saw the error 'cause I never remember to look to see what Line I'm on.
Is there a setting I have missed that will prevent this from happening? When I stop debugging I want the view to stay at or near the line that was last highlighted. It will stay in place if you only use F8 to step through. But if you first run to a breakpoint, stopping the debugger sends the view back to page one.
Macro Scheduler v13.2
View Jump in Editor after F9
Moderators: JRL, Dorian (MJT support)
I feel your pain on this... I've been there numerous times. Don't get me started how even the line numbers don't work if you have include files....
But, with time, I've learned to look at the code and see where I am. Okay, I still don't look often enough, it would be very nice if it would stay put! I thought it was just me.
But, with time, I've learned to look at the code and see where I am. Okay, I still don't look often enough, it would be very nice if it would stay put! I thought it was just me.
Hi Marcus,
I second what JRL and djs said above... and I have two other beefs related to the Advanced Editor and debugging, one major, one minor:
1) Major: Depending on what the screen resolution is set to on the machine I am working on, I often find that the size of the line numbers is too small to make out without squinting. The code itself is perfect, I like the font, the size, the syntax highlighting colors all great... but those line numbers! Can you make them larger or give us an option to make them larger or a more readable font?
2) Minor: Looking for a solution to the above, while in the Advanced Editor looking at a script, I clicked Edit/Font and bumped the font up to the max which was 72. Of course the code text became huge... but the line numbers stayed the same size
. When I saw this was no solution to making the line numbers more legible, I took the font back down to 10 which was what it was before and... now my code is displayed all over the place in short little lines. Of course there is no permanent harm... but it should be able to display the lines properly again after a font change like this... without having to close then re-open the script in the editor.
As usual, thanks for listening Marcus and thanks for the recent maintenance update!
I second what JRL and djs said above... and I have two other beefs related to the Advanced Editor and debugging, one major, one minor:
1) Major: Depending on what the screen resolution is set to on the machine I am working on, I often find that the size of the line numbers is too small to make out without squinting. The code itself is perfect, I like the font, the size, the syntax highlighting colors all great... but those line numbers! Can you make them larger or give us an option to make them larger or a more readable font?
2) Minor: Looking for a solution to the above, while in the Advanced Editor looking at a script, I clicked Edit/Font and bumped the font up to the max which was 72. Of course the code text became huge... but the line numbers stayed the same size

As usual, thanks for listening Marcus and thanks for the recent maintenance update!
jpuziano
Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post -
Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post -
