Hello,
i am attempting to debug my app by deploying to the device itself. This is using .netcf 2.0 and the device is a WM2005 device
My app installs a keyboard hook and does some processing in the hook procedure depending on what key is pressed.
The problem is, it seems that once a key is pressed, the hookproc is called over and over, as though i am continuing to press on that key (even though i am not).
This only happens when i attempt to debug by deploying to the device itself. if i simply run the app from the device, it works fine.
any ideas on what is causing this it makes debugging impossible currently.

Debugging issue
Beetlebum
igp04gueniat
No idea off hand but a few more pieces of info might be handy...
Are you debugging with the managed or native debugger I am guessing managed
Also how exactly do you register your keyboard hook
-Noah
.Net Compact Framework
PDFpilot
Well I still don't know either... in addition to the questions I asked above it might also be helpful to add:
Does it make a difference which section of code you are in steping through For instance if you step through some other unrelated code and then hit F5 before getting to the key press part does this problem still repro
My only guess at the moment is that using the debugger to pause threads is causing a timing issue of some sort. Perhaps some code keeps sending keyboard events until it gets acknowledgement (which never comes because the thread is paused). Still, it is just a wild guess right now.
-Noah
.Net Compact Framework