CW debugger not loading source code

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

CW debugger not loading source code

747 Views
donw
Contributor IV

I have made a new project with CodeWarrior and copied into it an existing code file, as I have done OK in the past.

(machine code only, absolute assembly)

Two problems occur, (which may be related) , when I start a Debug session:

 

1) On debug startup, a Yes/No window shows which states:

   'Enable Debugger for Target 'standard'. The debugger requires certain target settings in order to function correctly. Do you         want  CW to configure these settings automatically for target 'standard' ?

 

2) the source code does not load into the debugger....

 

Any ideas how to fix these problems?

CW v5.9.0, Debugger v6.1,  '08JM60 cpu.

Labels (1)
3 Replies

430 Views
TurboBob
Contributor IV

I had this happen recently,  not sure why.

 

I managed to make it work by forcing the debugger to load the source.  There are menu items for this,  and I don't recall exactly what I had to do.  I think it was the multilinkcyclonepro menu,  load,  and check a bunch of checkboxes near the bottom.

 

I think I was working with the CFV1 beta version of the AN2295 bootloader.  But its 1:30 AM here,  so my memory may be faulty...

 

Regards,

 

Bob

0 Kudos
Reply

430 Views
donw
Contributor IV

I have fixed the problem by creating a new project.

It seems the compiler/debugger  doesn't like the project to be nested into too many subdirectories....

 

0 Kudos
Reply

430 Views
GsFilm
Contributor II

I have exactly the same problem, same CodeWarrior version 5.9.0.

Also working w assembler absolute code.

On a S12E64 mpu though but that should not matter.

If I copy back all files from my safetybackup, it works nicely.

The sourcecode appears nicely in the debugger.

But as soon as I want to change the sourcecode to another file
(by "remove file from project" and "add file to project")

(as I have done hundred of times before, and it still works on other projects in subdirectories parallell to this one)

then the "Enable debugger for target "Standard" window appear.

No matter what I select Yes/No/Cancel the debugger starts with sourcecode missing.

PLEASE SOMEONE HELP !

I dont want to have to create a complete new project everytime I am updating/changing back a version of my code.

0 Kudos
Reply