Debug problem with IDE 5.1.2

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Debug problem with IDE 5.1.2

367 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by leon_heller on Thu Feb 21 12:47:41 MST 2013
I've installed IDE 5.1.2 and get this error when I try to debug:

Error while launching command: gdb --version

I've not had a problem with the previous versions.

I now get:

An internal error occurred during: "Launching blinky".
java.lang.NullPointerException

after restoring defaults in Debug Configurations.

When I do a release build and try to run the binary I get:

Error starting process.
Cannot run program "C:\Users\Leon\Documents\LPCXpresso_5.0.14_1109\blinky\Debug\blinky.axf": Launching failed
Cannot run program "C:\Users\Leon\Documents\LPCXpresso_5.0.14_1109\blinky\Debug\blinky.axf": Launching failed
Cannot run program "C:\Users\Leon\Documents\LPCXpresso_5.0.14_1109\blinky\Debug\blinky.axf": Launching failed
0 Kudos
5 Replies

339 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by cwpjr on Thu Feb 21 15:08:19 MST 2013
I had imported from the 5.10 project directory into 5.12. It did hard fault on me so I went back to 5.10 verify the code ran. It did. So I just copied the .s file into the 5.12 project and now it runs. Seems like a hiccup that is gone.

It is faster. The register window is expanded. Thanks!

Now to see how memory pane ascii entry is doing.
0 Kudos

339 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Thu Feb 21 14:41:26 MST 2013
Try deleting and recreating the debug configuration. CodeRed recommend doing this when upgrading
0 Kudos

339 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by leon_heller on Thu Feb 21 14:20:45 MST 2013
I get the problems with the Debug button in the Quickstart panel.

I was able to debug a couple of other examples (ADC and PWM). I only seem to get those problems with the Blinky example, which is very strange.

Deleting the Blinky Launch Configuration fixed the problem.
0 Kudos

339 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Thu Feb 21 13:57:48 MST 2013
I bet you created your own debug configuration, rather than pressing the debug button in the QuickStart panel. If you create your own you need to use c/c++ mcu application and NOT c/c++ application
0 Kudos

339 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Thu Feb 21 12:58:58 MST 2013
Not very hopeful: #6 of http://knowledgebase.nxp.com/showthread.php?t=4173
0 Kudos