I am developing a Photon Appbuilder Project using the Momentics IDE on my Windows XP box.
Right now the project is very simple and only contains two windows, the base window and a logon screen that pops up when the application launches.
I can run the application from Momentics and the application runs on the QNX box connected. It works as expected.
However, when I attempt to debug the application from Momentics, I am having problems. First, Momentics returns an error message and the QNX box that I am connecting to locks up and I have to physically unplug it to reboot it.
Here are the steps I am following:
- Appbuilder is running in a window on my XP box that was started by the Momentics IDE. I click Build->Generate UI from the PhAB window.
- In Momentics, I highlight the project, right click and click “Build Project”
- I open up the “binaries” icon and right click on the debug binary (patui_g - [x86/le]). I select “Debug As->1 C/C++ QNX Application”
At this point, in Momentics, I get a “QNX GDB Debugger” window that states “Execution is suspended because of error.”, the details windows states: “putpkt: write failed: No error.”