Remote debugging on the Raspberry PI from Qt
DEBUG啟動時的錯誤訊息:the selected build of gdb does not support python scripting
GOOGLE找到替代的gdb-multiarch。
Reference
System configuration
[on host PC] Install GDB-multiarch
sudo apt install gdb-multiarch
[on RPi] Install GDB Server
sudo apt install gdbserver
筆者在測試的時候,在PC和RPi兩邊把兩個東西都裝了,不太確定相依性。
Qt configuration
Tools->Build&Run->Debuggers->Add Edit name and path
/usr/bin/gdb-multiarch