调试在Liteide中AppEngine下运行的golang

时间:2015-07-25 10:19:49

标签: google-app-engine debugging go gdb liteide

我正在使用go和Google AppEngine编写一个小API。所有这些都是在Liteide和TBH经过一点点痛苦设置后,现在工作得非常好。我已经到了需要在GDB中开始调试的地步,这一切都已签名,Liteide正在接受这个。然而,有一个问题是我无法克服,并且正在让GDB加载应用程序的符号。以下是控制台的摘录:

&"Warning: /usr/local/go/src/pkg/runtime: No such file or directory.\n"
10000008^done,source-path="/usr/local/go/src/pkg/runtime:$cdir:$cwd"
(gdb) 
&"set substitute-path /go/src/pkg/runtime /usr/local/go/src/pkg/runtime\n"
10000009^done
(gdb) 
10000010^error,msg="No symbol table is loaded.  Use the \"file\" command."
(gdb) 
10000011^error,msg="No symbol table is loaded.  Use the \"file\" command."
(gdb) 
10000012^error,msg="No symbol table is loaded.  Use the \"file\" command."
(gdb) 
10000013^error,msg="No executable file specified.\nUse the \"file\" or \"exec-      file\" command."
(gdb) 

似乎GDB正在寻找运行时的错误位置,但可能会将其替换为正确的路径?我正在从

运行AppEngine
"/Applications/go_appengine 2/dev_appserver.py"

我怀疑我需要告诉GDB调试一个特定的进程但是我不确定是什么以及在哪里进行配置。任何人都有任何经验,如何设置或我可能会出错?

0 个答案:

没有答案
相关问题