Keybugger; Tool to use the Debugger with keyboardshortcuts

Developed or developing a new product in PureBasic? Tell the world about it.
Franky
Enthusiast
Enthusiast
Posts: 213
Joined: Sat Apr 26, 2003 2:58 pm

Keybugger; Tool to use the Debugger with keyboardshortcuts

Post by Franky »

Hi :D

Yesterday I had a bug in wrong interpreting some messages in my window´s eventloop. So I tried to click the debuggers stopbutton, then click on the button causing the bug and then go through the eventloop step by step to see, what happens. After a lot #wm_mousemove-Messages I gave up and decided to write this Program here.

So, here it is:

Keybugger has this functions:
-Shortcut (choseable) for the stopbutton of the debugger
-Shortcut (choseable) for the stepbutton of the debugger
-Shortcut (choseable) for the contbutton of the debugger
-Shortcut (choseable) to hide/show the debugger window
-Shortcut (choseable) to hide/show the debugger output window
-Shortcut (choseable) to hide/show the variable window
-Activate/Deactivate itself so that you don´t have to close and restart the program if you want to use one of the shortcuts for something else
-Program saves the chosen Shortcuts so you don´t have to choose again on any startup
-Autofinding the debugger and finding out if a program has already finished (Window renamed to windowname+" Finished")

Languages: English/Deutsch.

BTW it has a nice effect I didn´t really want to program but is very usefull.

The step-button is not very effectif, have you ever tried to walk through a big For-Next-Loop? One click for one step; some loops I´ve written were so long, I would have needed 3 mice because 2 of them had been brocken because of the clicks before I got to the bug
:lol:

The shortcut does not only make one step by one click but Stepbystep while the key´s pressed.


So, hereßs the link:
http://pure-graphicshop.de/Final/KeyBugger.zip
Give Up everything but trying!
Sub-Routine
User
User
Posts: 82
Joined: Tue May 03, 2005 2:51 am
Location: Wheeling, Illinois, USA
Contact:

Post by Sub-Routine »

That'a a cool idea! Good thing you included the source, as there are a few errors. Have you updated the program?

Rand
xgp
Enthusiast
Enthusiast
Posts: 128
Joined: Mon Jun 13, 2005 6:03 pm

Post by xgp »

Franky,
Really nice, indeed, i felt i was missing something while coding and this, will fill one gap, great idea!

xgp
Franky
Enthusiast
Enthusiast
Posts: 213
Joined: Sat Apr 26, 2003 2:58 pm

Post by Franky »

Hi Subroutine and xgp

No, i didn´t update the program yet, because up to now I thought, nobody used it (and I don´t use it really often (and I have no idea, why not :roll: ))

Do you still know the "few errors", you talked about? I´d be interested in them ;)
Give Up everything but trying!
Sub-Routine
User
User
Posts: 82
Joined: Tue May 03, 2005 2:51 am
Location: Wheeling, Illinois, USA
Contact:

Post by Sub-Routine »

Hi Franky,

I have fixed the input of the keys, it didn't correctly output the input key in several cases. And I haven't figured how to save the keys I choose, but they don't seem to work as I input either. I want to use the bottom row of keys, Z, X, C, V, B for some of the functions.

Also the automatic step you say works for you doesn't work for me. Not a biggie though.

Perhaps the differences in the keyboard maps have something to do with some of these problems.

I don't use Keybugger very often, but it's very nice to have for the problem child. Funny how one small change in a program can stir so much interest sometimes :shock:

If it ran automatically when jaPBe was started I would let it run all the time.

Rand
Post Reply