Debugger loads a wrong source file on stop debugging

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

Debugger loads a wrong source file on stop debugging

473 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by siro on Fri Apr 15 02:33:57 MST 2016
Hello,

i used LPCXpresso v8.1.4 [Build 606] [2016-03-14]

i have 3 Projects in my Workspace, but there is no dependency.

I have ALL not used Projects closed in the Project Explorer
I have No Project References to other Projects

only a stand alone project with ALL Source Files in the project directory,

The Problem:
if i stop my debugginjg session, the Software loads the currently used Source File
and the Cursor jumps to currently used program position in code.
mostly it works fine.

Bu tsometimes: it loads a fault source File from an other closed Project to the Workspace
with the same filename.

can anyone  help for these behavier.

very thanks
Bernd
0 Kudos
Reply
4 Replies

465 Views
lpcware
NXP Employee
NXP Employee
bump
0 Kudos
Reply

465 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by siro on Sat Apr 16 13:24:48 MST 2016
Thanks for this Info.  I have checked this.
The Problem, i think was resolved if i "CLEAN"  the Project.
I have never done this, only "BUILD"   ;-)
Today it is working fine.

Have a good weekend
Siro
0 Kudos
Reply

465 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by vtw.433e on Fri Apr 15 09:19:23 MST 2016
In the debugger configuration (aka Launch Configuration), there is setting for where to search for source files. Check it.
0 Kudos
Reply

465 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by siro on Fri Apr 15 03:35:14 MST 2016
now, i find that the IDE also loads wrong files at start debugging.

i have NO Files opend and start the debugging.
the IDE loads sometimes Source Files from an wrong project.
0 Kudos
Reply