我剛纔昨天問了一個問題,是什麼導致了這個新問題。 gdb within emacs on Windowsgdb在emacs上沒有在Windows上顯示代碼
基本上我安裝了一個QT sdk,要求我卸載MSYS,我做了&我沖洗了我的emacs/gdb交互。
這是我正在使用的gdb_init文件。在卸載MSYS之前,這很好。現在,它的斷點正在工作,但我沒有得到我的代碼在另一個窗口左邊的小紅點爲斷點。
file ~/../sandbox/trunk/current-win32/debug-bin/sm.exe
dir ~/../sandbox/trunk/src/mgr/view
dir ~/../sandbox/trunk/src/mgr/view/appstatus
dir ~/../sandbox/trunk/src/mgr/controller
break widget.cpp:176
break book.cpp:72
break TcpClient.cpp:660
break mainwidget.cpp:1474
我在Emacs
M-x gdb
source ~/gdb_init
run
(It will break but not give me the code along with the breakpoint)
任何想法,我做錯了運行的步驟?