Search code examples
visual-studio-2008cross-compilingwindows-cevisual-studio-debugging

Visual Studio 2008 - Breakpoint will not currently be hit. No executable code is currently loaded at this function


I am using Visual Studio 2008 for WINCE7 for colibri board. Whenever I put breakpoints to debug my code. Breakpoint become disabled an I got this message when I put cursor on beak point:-

 Breakpoint will not currently be hit. No executable code is currently loaded at this function

The only solution I can find on internet is this. But this solution is not working. Apart from this I restart my PC, delete ,pdb files, Copy my project somewhere and rebuild it. But nothing really helps. What can be possible reasons for this issue how can I solve it.Here is the image of actual scenario:- enter image description here


Solution

  • In case of cross compilation, It's not a Visual Studio settings issue, it's the board issue that you are using. Delete the project files from your board and reset it. Then reload the project from visual studio. I will work fine.