Part Number: RM46L852
Other Parts Discussed in Thread: HALCOGEN
Hi,
I'm using Code Composer Studio version 12.2.0.00009 and when I start debugging, the debugger never halts at the main().
The program simply run as if there was no breakpoint. This behaviour makes it very hard to debug initialization code.
Here is my settings configuration:
After reading the FAQ, I think these would make sure the programs halt at the main().



Is there a way to force the debugger to consider my breakpoints?
I saw in another thread that the scripting console could give more information
JS:> eval("DEBUG_DumpBreakpoints()")
CortexR4: GEL Output: Memory Map Setup for Flash @ Address 0x0CortexR4: Breakpoint Manager Dump: Total Allocated Logical Breakpoints: 6
CortexR4: Breakpoint Manager Dump: Total Allocated Software Physical Breakpoints: 7
CortexR4: Breakpoint Manager Dump: Total Allocated Legacy Hardware Physical Breakpoints: 0
CortexR4: Breakpoint Manager Dump: Total Allocated 55 Hardware Physical Breakpoints: 0
CortexR4: Breakpoint Manager Dump: Total Allocated Thread Physical Breakpoints: 0
CortexR4: Breakpoint Manager Dump:
CortexR4: Breakpoint Manager Dump: Enabled: 2
CortexR4: Breakpoint Manager Dump:
CortexR4: Breakpoint Manager Dump: Hardware Configuration
CortexR4: Breakpoint Manager Dump: Location: 0x1d67c
CortexR4: Breakpoint Manager Dump: Debugger Response
CortexR4: Breakpoint Manager Dump: Condition:
CortexR4: Breakpoint Manager Dump: Skip Count: 0
CortexR4: Breakpoint Manager Dump: Current Count: 0
CortexR4: Breakpoint Manager Dump: Action: Finish Auto Run
CortexR4: Breakpoint Manager Dump: Miscellaneous
CortexR4: Breakpoint Manager Dump: Group: Default Group
CortexR4: Breakpoint Manager Dump: Name:
CortexR4: Breakpoint Manager Dump: Breakpoint set by the system
CortexR4: Breakpoint Manager Dump:
CortexR4: Breakpoint Manager Dump: Hardware Configuration
CortexR4: Breakpoint Manager Dump: Location: C:\dev\fz\Example-Hercules-FreeRTOS\Debug/../source/sys_main.c, line 130 ("C:\dev\fz\Example-Hercules-FreeRTOS\Debug\mcu.out") (0x1d690)
CortexR4: Breakpoint Manager Dump: Debugger Response
CortexR4: Breakpoint Manager Dump: Condition:
CortexR4: Breakpoint Manager Dump: Skip Count: 0
CortexR4: Breakpoint Manager Dump: Current Count: 0
CortexR4: Breakpoint Manager Dump: Action: Remain Halted
CortexR4: Breakpoint Manager Dump: Miscellaneous
CortexR4: Breakpoint Manager Dump: Group: Default Group
CortexR4: Breakpoint Manager Dump: Name: Breakpoint
CortexR4: Breakpoint Manager Dump: Breakpoint set by the user
CortexR4: Breakpoint Manager Dump:
CortexR4: Breakpoint Manager Dump: Disabled: 4
CortexR4: Breakpoint Manager Dump:
CortexR4: Breakpoint Manager Dump: Hardware Configuration
CortexR4: Breakpoint Manager Dump: Location: "C$$IOE$$"
CortexR4: Breakpoint Manager Dump: Debugger Response
CortexR4: Breakpoint Manager Dump: Condition:
CortexR4: Breakpoint Manager Dump: Skip Count: 0
CortexR4: Breakpoint Manager Dump: Current Count: 0
CortexR4: Breakpoint Manager Dump: Action: Process CIO
CortexR4: Breakpoint Manager Dump: Miscellaneous
CortexR4: Breakpoint Manager Dump: Group: Default Group
CortexR4: Breakpoint Manager Dump: Name:
CortexR4: Breakpoint Manager Dump: Breakpoint set by the system
CortexR4: Breakpoint Manager Dump:
CortexR4: Breakpoint Manager Dump: Hardware Configuration
CortexR4: Breakpoint Manager Dump: Location: "C$$EXIT" (0x1e62e)
CortexR4: Breakpoint Manager Dump: Debugger Response
CortexR4: Breakpoint Manager Dump: Condition:
CortexR4: Breakpoint Manager Dump: Skip Count: 0
CortexR4: Breakpoint Manager Dump: Current Count: 0
CortexR4: Breakpoint Manager Dump: Action: Terminate Program Execution
CortexR4: Breakpoint Manager Dump: Miscellaneous
CortexR4: Breakpoint Manager Dump: Group: Default Group
CortexR4: Breakpoint Manager Dump: Name:
CortexR4: Breakpoint Manager Dump: Breakpoint set by the system
CortexR4: Breakpoint Manager Dump:
CortexR4: Breakpoint Manager Dump: Hardware Configuration
CortexR4: Breakpoint Manager Dump: Location: "C$$IO$$"
CortexR4: Breakpoint Manager Dump: Debugger Response
CortexR4: Breakpoint Manager Dump: Condition:
CortexR4: Breakpoint Manager Dump: Skip Count: 0
CortexR4: Breakpoint Manager Dump: Current Count: 0
CortexR4: Breakpoint Manager Dump: Action: Process CIO
CortexR4: Breakpoint Manager Dump: Miscellaneous
CortexR4: Breakpoint Manager Dump: Group: Default Group
CortexR4: Breakpoint Manager Dump: Name:
CortexR4: Breakpoint Manager Dump: Breakpoint set by the system
CortexR4: Breakpoint Manager Dump:
CortexR4: Breakpoint Manager Dump: Hardware Configuration
CortexR4: Breakpoint Manager Dump: Location: "C$$EXITE"
CortexR4: Breakpoint Manager Dump: Debugger Response
CortexR4: Breakpoint Manager Dump: Condition:
CortexR4: Breakpoint Manager Dump: Skip Count: 0
CortexR4: Breakpoint Manager Dump: Current Count: 0
CortexR4: Breakpoint Manager Dump: Action: Terminate Program Execution
CortexR4: Breakpoint Manager Dump: Miscellaneous
CortexR4: Breakpoint Manager Dump: Group: Default Group
CortexR4: Breakpoint Manager Dump: Name:
CortexR4: Breakpoint Manager Dump: Breakpoint set by the system
Best regards,
Gabriel







