windows - Visual C++, breakpoints do not break -


i have project in visual c++ 2010 (win32 application, non-managed code) in i'm experiencing strange behavior. put breakpoint , not break!

the clues:

  • a pdb file generated in exe file path.

  • the debug/modules window shows message "binary not built debug information.".

  • loading pdb file manually (debug/modules, right click on executable module, load symbols from/symbols path double click on pdb file) says "a matching symbol file not found on folder.".

my settings:

  • c++/general/debug information format: program database.
  • c++/optimization: disabled.
  • c++/code generation/runtime library: multi-threaded debug.
  • linker/debugging/generate debug info: yes.
  • linker/debugging/generate program database: $(targetdir)$(targetname).pdb.

compiler command line:

/i"..\..\calibur64k\include" /i"c:\program files (x86)\microsoft directx sdk (june 2010)\include" /zi /nologo /w3 /wx- /od /oy- /d "d3d_debug_info" /d "win32" /d "_debug" /d "_windows" /d "_unicode" /d "unicode" /gm /ehsc /rtc1 /mtd /gs /fp:precise /zc:wchar_t /zc:forscope /fp"debug\calibur_app.pch" /fa"debug\" /fo"debug\" /fd"debug\vc100.pdb" /gd /analyze- /zl /errorreport:queue 

linker command line:

/out:"c:\users\david\desktop\calibur64k\vs2010\debug\calibur_app.exe" /incremental:no /nologo "kernel32.lib" "user32.lib" "d3dcompiler.lib" "gdi32.lib" "winspool.lib" "comdlg32.lib" "advapi32.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "odbc32.lib" "odbccp32.lib" "c:\users\david\desktop\calibur64k\vs2010\debug\calibur64k.lib" /manifest /manifestfile:"debug\calibur_app.exe.intermediate.manifest" /allowisolation /manifestuac:"level='asinvoker' uiaccess='false'" /debug /pdb:"c:\users\david\desktop\calibur64k\vs2010\debug\calibur_app.pdb" /assemblydebug /subsystem:windows /pgd:"c:\users\david\desktop\calibur64k\vs2010\debug\calibur_app.pgd" /tlbid:1 /dynamicbase /nxcompat /machine:x86 /errorreport:queue 

nothing i've found on internet helped me :( ideas guys? thanks!

the problem has been solved trial , error :)

for interested in:

linker/manifest file/generate manifest: set no. linker/manifest file/allow isolation: set no. linker/embedded idl/ignore embedded idl: set yes.

that's it. maybe generated pdb file manifest or executable manifest wrongly setup c++ project?

thanks answers.


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -