Lpcxpresso debug session

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Lpcxpresso debug session

649件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by bhallett on Tue Sep 21 02:20:04 MST 2010
Hello all,

I have LPCXpresso v 3.3.4 installed on my PC which I have not used for approx 10 months. Now that I want to use it again I am having trouble using the debug mode.

The problem im having has the following symptom:

- I set the IDE to start up in debug mode,

- I set a break point,

- Start my debug session

- Session stops on break point

- I try to use 'Step Into' F5 or 'Step Over' F6

Then the IDE does not do what it used to do and that is to step to the next line, instead, a new window opens up labled 1 "<symbol is not available> 0" containing Red text "No source available for """ and a button labled "View Disassembly".

If i press F5 or F6 again an error message reporting "Execution is suspended because of error" is reported.

Can anyone help ?

Regards

Barry
0 件の賞賛
返信
2 返答(返信)

637件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by bhallett on Tue Sep 21 02:48:58 MST 2010
Hello CodeRedSupport,

Apologies to all, I have managed to resolve my issue. When building the code for final release I specifically enable the watchdog timer as a result affects the debug facility. In order to use the debug facility I disable enabling the watchdog.

Regards

Barry
0 件の賞賛
返信

637件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Tue Sep 21 02:42:48 MST 2010
Not sure how you have managed to be using 3.3.4 for 10 months - it was only released in mid-April :D Note that the current release version of LPCXpresso is 3.5.0 - you can install this in parallel to your existing 3.3.4 installation by selecting a different installation directory.

Anyway, with regards to your problem, are you seeing this with a project that you created sometime ago? Did you rebuild it before debugging?

I would certainly suggest doing a clean and build and trying to debug again.

Can you check that the build options are specifying that debug is  turned on for all your files - in particular the one containing the code  which causes the display of the error when you step into it.

Can you also confirm if you can successfully debug any of the supplied examples for your target MCU, or is the issue specific to this one project.

It is also possible that something might have corrupted your workspace. It might be worth exporting your project to a zip file via the Quickstart Panel, then importing it back into a completely new workspace project.

If this still doesn't work, please can you do a clean and build, then copy'n'paste the build log into a text file and post here.

Regards,
CodeRedSupport
0 件の賞賛
返信