Saturday, January 28, 2012

New debugging stuff!

Today I improved debugging a bit.

First, when you step through a program, QuiteBASIC will scroll the program text so that the current line is visible and it will highlight the line number so it is easy to see.

Second, I added a new button "go to cursor". To use it, place the cursor somewhere in your program where you want to stop execution and the click the button. QuiteBASIC will run normally until it reaches the line with the cursor.

This stuff had been quite often requested, but it was a little tricky to pull off in JavaScript. Anyway, here it is now!