12-15-2011 02:45 PM
Debugger will not work when testing on-device. Breakpoints don't get hit.
Just built it in JDE 5 and loaded on device. Attached debugger. It shows output messages, but does not trip. Tried restarting JDE, resetting device etc. Tried 2 different apps. Nothing.
Has anyone experienced this and solved it? This happened before when I was using the preprocessor, but now it's just a simple app.
12-19-2011 04:35 PM
Have you installed a BlackBerry smartphone simulator that has the same OS as your BlackBerry Smartphone?
Note that the version of BlackBerry JDE should also match that of your device.
12-19-2011 11:36 PM
Phone has 220.127.116.114 , only Verizon 9650 simulator I can find is 18.104.22.1681 . I've got that sim installed, and did try the 6.0 JDE also. It always gives the two pop-up errors when attaching, won't report many variables, and usually doesn't show the subclass of an exception.
A couple of breakpoint incidents were traced to the cause, but other times I don't know why it doesn't work.
For example, it happens if I use the preprocessor, or if the app has a line like this at the top of main():
if (DeviceInfo.isSimulator()) return;
In that case it won't even break at the start of that line, it just doesn't break anywhere (running on device, not in simulator). Removing the above line fixed that particular case (breakpoints then worked), and no longer using the preprocessor solved it in another case.