Sunday, October 16, 2016

How is the Redneck debugger coming?

The full window and its controls are all working.

Well, I can load the source, select parts of the source text and add it to the watchlist. I have two list running, break points and watch.  I can delete and add to these list based on the current insert cursor.

That is 88 lines of code.  The only thing left is the exec() statements I use to 'run'the code and extract the watch variable values. Likely another 50 lines of code and I will be the happy redneck python debugger.

The text box was well written with easy to access pointers into the text.  It has a built in select text function. So I don't even keep a second copy around, the only copy is in the text widget.

No comments: