报错是这个:
09:45:41 GdbDebugger: /usr/local/Cellar/gdb/7.11/bin/ was not found on system PATH (hint: is GDB installed?)
09:45:41 LiteDebug: Failed to start debugger
然后我环境变量是这么配的
export PATH=$PATH:/usr/local/Cellar/gdb/7.11/bin
配置文件是这样的
LITEIDE_GDB=/usr/local/Cellar/gdb/7.11/bin/
直接gdb --version也有
GNU gdb (GDB) 7.11
Copyright (C) 2016 Free Software Foundation, Inc.
路径bin下gdb文件是存在
开发环境是osx,完全看不出哪里路径不对
有疑问加站长微信联系(非本文作者)