Keyman Developer debug fails


#1

When I go to debug a keyboard, Keyman Developer says “Unable to start debugging – failed to switch to language with error 80004005”.

I have Keyman Developer 10.0.1098.0


#2

Maybe I just figured out my problem. In Keyman configuration, I had the Keyman Developer Debug Host Keyboard unchecked. I checked it, and the debugger now works.


#3

After I was working for a while, I saw a different error. “Unable to start debugger – please make sure Keyman Developer is correctly installed (the error code was 00000000).”

It turned out this was because I had a typo in my keyboard code and the keyboard would not compile. I’d suggest a more specific error message, such as “Error, your keyboard failed to compile.”

I’d also suggest having the developer beep and display a popup when the compiler fails. I hadn’t noticed it was failing to compile because the error message in the messages window was not prominent enough.


#4

I’d suggest a more specific error message, such as “Error, your keyboard failed to compile.”

As of Keyman Developer 10.0.1094.0, if the keyboard fails to compile and you attempt to “Start Debugging”, you should have seen this popup message:

 "The keyboard did not compile successfully. Unable to start debugger."

Reference: PR #900


#5

But I went to “Keyboard > Test Keyboard” rather than start debugging. I see the popup you mention when I do start debugging. I’d recommend putting that same popup when someone starts to test a keyboard that failed to compile.


#6

Okay, I understand. I almost always press F5 to start the debugger, which gives all the same functionality as Test Keyboard, plus a bunch of deep debugging tools which are really handy. So I missed this. I’ll note it as an additional issue (not sure if we’ll get to it for 10.0 stable). https://github.com/keymanapp/keyman/issues/963