No symbols loaded
当.net通过open solution->soffice.exe创建项目后,F5运行office,debug->attach to process->soffice.bin,调试,出现:
'soffice.exe': Loaded 'D:\product_debug\OpenOffice.org 3\program\soffice.exe', No symbols loaded.
'soffice.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.
'soffice.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.
'soffice.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989\msvcr80.dll', No symbols loaded.
'soffice.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols loaded.
'soffice.bin': Loaded 'D:\product_debug\OpenOffice.org\URE\bin\bootstrap.uno.dll', No symbols loaded.
'soffice.bin': Loaded 'D:\product_debug\OpenOffice.org\URE\bin\reg3.dll', No symbols loaded.
'soffice.bin': Loaded 'D:\product_debug\OpenOffice.org\URE\bin\store3.dll', No symbols loaded.
'soffice.bin': Loaded 'D:\product_debug\OpenOffice.org\URE\bin\unsafe_uno_uno.dll', No symbols loaded.
'soffice.bin': Loaded 'D:\product_debug\OpenOffice.org\URE\bin\purpenvhelper3MSC.dll', No symbols loaded.
'soffice.bin': Loaded 'D:\product_debug\OpenOffice.org\Basis 3.0\program\configmgr2.uno.dll', Symbols loaded.
'soffice.bin': Loaded 'D:\product_debug\OpenOffice.org\URE\bin\stocservices.uno.dll', No symbols loaded.
'soffice.bin': Loaded 'D:\product_debug\OpenOffice.org\Basis 3.0\program\sysmgr1.uno.dll', Symbols loaded.
'soffice.bin': Loaded 'D:\product_debug\OpenOffice.org\Basis 3.0\program\sax.uno.dll', Symbols loaded.
'soffice.bin': Loaded 'D:\product_debug\OpenOffice.org\Basis 3.0\program\localebe1.uno.dll', No symbols loaded.
'soffice.bin': Loaded 'D:\product_debug\OpenOffice.org\Basis 3.0\program\behelper.uno.dll', Symbols loaded.
'soffice.bin': Loaded 'D:\product_debug\OpenOffice.org\Basis 3.0\program\splmi.dll', Symbols loaded.
'soffice.bin': Loaded 'D:\product_debug\OpenOffice.org\Basis 3.0\program\ucb1.dll', No symbols loaded.
'soffice.bin': Loaded 'D:\product_debug\OpenOffice.org\Basis 3.0\program\fwlmi.dll', Symbols loaded.
'soffice.bin': Loaded 'D:\product_debug\OpenOffice.org\Basis 3.0\program\ucpfile1.dll', No symbols loaded.
'soffice.bin': Loaded 'D:\product_debug\OpenOffice.org\Basis 3.0\program\fwkmi.dll', Symbols loaded.
'soffice.bin': Loaded 'D:\product_debug\OpenOffice.org\Basis 3.0\program\dnd.dll', No symbols loaded.
'soffice.bin': Loaded 'C:\WINDOWS\system32\xpsp2res.dll', Binary was not built with debug information.
'soffice.bin': Loaded 'D:\product_debug\OpenOffice.org\Basis 3.0\program\fileacc.dll', No symbols loaded.
'soffice.bin': Loaded 'D:\product_debug\OpenOffice.org\Basis 3.0\program\package2.dll', Symbols loaded.
'soffice.bin': Loaded 'D:\product_debug\OpenOffice.org\Basis 3.0\program\fsstorage.uno.dll', No symbols loaded.
'soffice.bin': Loaded 'D:\product_debug\OpenOffice.org\Basis 3.0\program\i18npool.uno.dll', No symbols loaded.
'soffice.bin': Loaded 'D:\product_debug\OpenOffice.org\Basis 3.0\program\icuin36.dll', Binary was not built with debug information.
'soffice.bin': Loaded 'C:\WINDOWS\system32\setupapi.dll', No symbols loaded.
....
网上找了一些类似情况,不知道怎么回事。
后来想起也许是在原安装目录重装了office,那么现在安装目录下的dll就只是release版,无debug信息。
于是,试着将源码debug=true编译后的dll重新拷入安装目录下,No symbols loaded变成symbols loaded!