The breakpoint will not currently be hit. No symbols have been loaded for this document."
C# exe calls function from a native C++ DLL, and breakpoints set inside C++ source code cannot be hit, VS2012 IDE says that
The breakpoint will not currently be hit. No symbols have been loaded for this document.
Here are some solutions that might be helpful:
For C# EXE project:
- In 'Properties -> Debug-> Enable Debuggers': Check "Enable native code debugging"
For C++ DLL project:
- In 'Properties -> C/C++ -> Code Generation: Set Runtime Lib to Multi Threaded Debug
- In 'Properties -> Linker -> Debugging': Set Generate Debug Info to Yes
 
                    
                     
                    
                 
                    
                
 
 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号