This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Debug asm file

Other Parts Discussed in Thread: TMS320C5515

Hi,

I'm having an issue being able to debug asm files in CCS Version: 6.0.1.00040 on a Windows 7, 64-bit machine, w/ the TMS320C5515 and compiler TI v4.4.1.

Basically I have a *.c file that I have the compiler keep onto the assembly file output.

I then take the *.asm file and modify it, place it into my project, and then exclude from build the *.c file that generated the *.asm file.

When I place any breakpoints inside the *.asm file the IDE does not recognize them (they turn yellow), and will not halt when the code is executed.

When I hover over the breakpoint with my mouse a little pop up says that S/W break points are disabled.

Is it possible to place breakpoints in *.asm files?

Thanks

  • Hello

    Benjamin Michaud said:

    I then take the *.asm file and modify it, place it into my project, and then exclude from build the *.c file that generated the *.asm file.

    When I place any breakpoints inside the *.asm file the IDE does not recognize them (they turn yellow), and will not halt when the code is executed.

    Did you remove all the various references to the original source file from the modified .asm file? When you load the program, is the debugger looking for the original *.c file?

    Thanks

    ki

  • Hi,

    The original *.c file I enable the option "Exclude from build" thinking that this should not confuse the compiler since the methods aren't implemented in 2 different spots.

    The debugger doesn't complain about the *.c file being gone either, it builds it and allows me to debug all the rest of the code.

  • The generated asm itself usually has various dwarf attributes (.dwattr) that can reference the original source file. I was wondering if you removed all these attributes. Having these in would cause confusion.

  • I did not take away any of the (.dwattr) statements in the file.

    I was too afraid to change any of that so I left it as is.

    I will removed those statements and see if it makes a difference.

    Tanks!