我的輸出中混雜著數(shù)百行,如下所示:'python.exe' (Python): Loaded 'C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_86\Lib\struct.py'. Module was built without symbols. 'python.exe' (Python): Loaded 'C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_86\Lib\ctypes\_endian.py'. Module was built without symbols. 'python.exe' (Python): Loaded 'C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_86\Lib\glob.py'. Module was built without symbols. 'python.exe' (Python): Loaded 'C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_86\Lib\fnmatch.py'. Module was built without symbols. 'python.exe' (Python): Loaded 'C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_86\Lib\posixpath.py'. Module was built without symbols.需要一兩分鐘才能找到我的代碼。它似乎加載的方式超出了必要的范圍,包括僅與我導(dǎo)入的內(nèi)容(僅 pyqtgraph)無(wú)關(guān)的利基庫(kù)。我嘗試了各種解決方案,排除符號(hào),并嘗試指定模塊。Options > Debug中似乎沒(méi)有明確的設(shè)置來(lái)解決這個(gè)問(wèn)題。我應(yīng)該注意,我相信這是在為我正在使用的 C++ 擴(kuò)展啟用本機(jī)調(diào)試之后發(fā)生的。
1 回答

慕后森
TA貢獻(xiàn)1802條經(jīng)驗(yàn) 獲得超5個(gè)贊
截至目前,在 PTVS(Python for Visual Studio)中調(diào)試本機(jī)代碼時(shí),當(dāng)前沒(méi)有“僅我的代碼”調(diào)試選項(xiàng)。
添加回答
舉報(bào)
0/150
提交
取消