C

Debugging and profiling Qt Quick Ultralite applications

Profiling

Qt Quick Ultralite does not support any profiling tool yet.

Debugging from command line with GDB.

EVKB-IMXRT1050

Prerequisites:

note: the GNU Arm Embedded Toolchain must be extracted to path without spaces.

Follow these steps to start debugging:

  • Run JLink GDB Server - JLinkGDBServer -device MCIMXRT1052 -if SWD -scriptfile <Path to Qt Quick Ultralite installation>\CMake\toolchain\evkbimxrt1050\evkbimxrt1050_sdram_init.jlinkscript
  • Run GDB - <Path to GNU Arm Embedded Toolchain>/bin/arm-none-eabi-gdb <Path to build>\Debug\<Application binary file>.elf
  • Look for GDB Server Listening port in JLinkGDBServer output panel and set target - target extended-remote localhost:<GDB Server Listening port>

STM32F769i-DISCO

Prerequisites:

Follow these steps to start debugging:

  • Run GDB Server - <STM32CubeIDE dir>\plugins\com.st.stm32cube.ide.mcu.externaltools.stlink-gdb-server.win32_X.X.X.X\tools\bin\ST-LINK_gdbserver.exe -l 31 -p 61234 -r 15 -d -cp "<STM32CubeProgrammer dir>\bin" -el "<STM32CubeProgrammer dir>\bin\ExternalLoader\MX25L512G_STM32F769I-DISCO.stldr"
  • Run GDB - gdb
  • Set target - target extended-remote localhost:61234

STM32F7508-DISCO

Prerequisites:

Follow these steps to start debugging:

  • Run GDB Server - <STM32CubeIDE dir>\plugins\com.st.stm32cube.ide.mcu.externaltools.stlink-gdb-server.win32_X.X.X.X\tools\bin\ST-LINK_gdbserver.exe -l 31 -p 61234 -r 15 -d -cp "<STM32CubeProgrammer dir>\bin" -el "<STM32CubeProgrammer dir>\bin\ExternalLoader\N25Q128A_STM32F7508-DISCO.stldr"
  • Run GDB - gdb
  • Set target - target extended-remote localhost:61234

Available under certain Qt licenses.
Find out more.