I’m attempting to debug 1.9.2 in vscode using jmavsim (or gazebo) in OS X Catalina. I’m using the default targets and am getting an issue where it never seems to fully start the px4 process. Specifically, I see “PAUSED ON EXCEPTION” in the call stack and no matter how many times I continue the debug session it keeps stopping. I’ve also tried running the lldb session manually and get:
Process 2603 launched: 'firmware/build/px4_sitl_default/bin/px4' (x86_64) INFO [px4] Creating symlink firmware/ROMFS/px4fmu_common -> firmware/build/px4_sitl_default/tmp/rootfs/etc ______ __ __ ___ | ___ \ \ \ / / / | | |_/ / \ V / / /| | | __/ / \ / /_| | | | / /^\ \ \___ | \_| \/ \/ |_/ px4 starting. INFO [px4] Calling startup script: /bin/sh etc/init.d-posix/rcS 0 INFO [dataman] Unknown restart, data manager file './dataman' size is 11798680 bytes INFO [simulator] Waiting for simulator to connect on TCP port 4560 INFO [simulator] Simulator connected on TCP port 4560. Init MAVLink Process 2603 stopped * thread #2, name = 'hpwork', stop reason = signal SIGCONT frame #0: 0x00007fff721a18f6 libsystem_kernel.dylib`__psynch_cvwait + 10 libsystem_kernel.dylib`__psynch_cvwait: -> 0x7fff721a18f6 <+10>: jae 0x7fff721a1900 ; <+20> 0x7fff721a18f8 <+12>: movq %rax, %rdi 0x7fff721a18fb <+15>: jmp 0x7fff7219e397 ; cerror_nocancel 0x7fff721a1900 <+20>: retq Target 0: (px4) stopped.
Has anyone been able to debug 1.9.2 in OS X Catalina?