This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

uVision 5.36 : '-fdebug-macro' causes slow start of a debug session

Hi,

When I build my project with compiler option '-fdebug-macro' and flash into board, pressing F4 (start debug session) shows 'waiting' mouse icon and uVision gets inactive for ~15 seconds - as if it was initialising sth in the background. Eventually, uVision shows debug cursor in main () and I can debug my SW.

When I build without '-fdebug-macro', pressing F4 starts uVision debug session immediately.

I tried J-Link and ULink-Pro with the same result.

Why that might be ?
Do you observe similar behaviour ?

My IDE details:


IDE-Version:
µVision V5.36.0.0

Tool Version Numbers:
Toolchain:        MDK-ARM Plus  Version: 5.36.0.0
Toolchain Path:    C:\Keil_v5\ARM\ARMCLANG\Bin
C Compiler:         ArmClang.exe        V6.16
Assembler:          Armasm.exe        V6.16
Linker/Locator:     ArmLink.exe        V6.16
Library Manager:    ArmAr.exe        V6.16
Hex Converter:      FromElf.exe        V6.16
CPU DLL:               SARMCM3.DLL          V5.36.0.0
Dialog DLL:         TCM.DLL              V1.53.0.0
Target DLL:             ULP2CM3.DLL          V2.213.0.0
Dialog DLL:         TCM.DLL              V1.53.0.0


Thanks