The following screenshot shows the loop variable highlighted because it has changed since the last step. The variable status is reset on user-pause or breakpoint. So, I am getting towards some sort of state where I might have to think what to do with this software. I think what I’ll try to do is develop [...]
Archives for webos
It’s looking good. After a mammoth effort to get my head round the Eclipse debug support and User Interface messaging I think I have a fairly stable version of a debugger now. This has breakpoint, step and simple local variable support. The feature set is kind of at the mercy of the WebOS debugger really [...]
I think I’ll have a break from trying to debug the Palm Pre Debugger plugin as it is doing my head in trying to track all the threads of execution. I need to roll back to a simpler version so I can make sure that is working properly first before trying to get the variable [...]
Local variables support added. More complex objects are going to be a bit of a challenge. I am going to go back through the code at this point and re-factor out some of the more ropey looking parts.
Step support has been added. You can set breakpoints, break, step over, into and out of your code and resume. Next is processing the variables.
I have literally just got this working after spending the last two days trying to figure out how to link the breakpoint to the source code. It turns out the solution is the last thing mentioned in the ‘How to write a debugger’ article for Eclipse. You need to create a presentation object. This returns [...]
An hour here an hour there does not make for great progress. I am not an expert in regex so I have resorted to writing unit tests to try and sort out the parsing issues I’ve been getting with the debugger output. Here is a diagram with the state machine for startup, run and pause [...]
Here’s a rough outline of my Mojo debugger Eclipse Plugin. This is a work in progress. The packages in yellow are where I am hooking into the Palm jars from the SDK. Note the states defined in bottom right. The controller issues commands to the connected emulator and the current state processes the response. I [...]
There is an update to the IFrame. RAB and KAM (many thanks) have posted there update here. This will make it’s way into the main source update really soon I promise. It’s remiss of me to update this stuff but life has intervened. As mentioned in the previous post I had a look at the [...]