SimulAVR as "Before lauch:external tool"

已回答

I try to start my avr-gdb with the following external tool:

Program: src/simulavr

Arguments: -d atmega644 -f $ProjectFileDir$/bin/$ProjectName$.elf -g

But the Debugger is not starting, becourse it waits for the response of the external tool which itselfs is waiting:

"Waiting on port 1212 for gdb client to connect..."

 

How can I avoid this behaviour. I want to start/configure the simulator(simulAVR) | interface (avarice) within the Cmake/Clion-Project.

 

Greatings David

0

Hello!

Recently in CLion 2019.2 EAP we’ve implemented and polished a Run/Debug configuration for On-Chip debug with GDB Server: https://blog.jetbrains.com/clion/2019/06/clion-2019-2-eap-gdb-server-for-embedded-debugging/. Please install the EAP build and try using an Embedded GDB Server Run/Debug configuration in CLion (specify SimulAVR in the GDB Server field). And avr-gdb can be specified as Debugger in File | Settings | Build, Execution, Deployment | Toolchains.

Please let us know the results of your testing.

0

请先登录再写评论。