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.0Tool Version Numbers:Toolchain: MDK-ARM Plus Version: 5.36.0.0Toolchain Path: C:\Keil_v5\ARM\ARMCLANG\BinC Compiler: ArmClang.exe V6.16Assembler: Armasm.exe V6.16Linker/Locator: ArmLink.exe V6.16Library Manager: ArmAr.exe V6.16Hex Converter: FromElf.exe V6.16CPU DLL: SARMCM3.DLL V5.36.0.0Dialog DLL: TCM.DLL V1.53.0.0Target DLL: ULP2CM3.DLL V2.213.0.0Dialog DLL: TCM.DLL V1.53.0.0Thanks
This option is enabled by default with v5 compiler and I do not remember problem with debug session taking too long to start.
developer.arm.com/.../--debug-macros----no-debug-macros
With v6 it is disable as default
developer.arm.com/.../latest