Reputation: 3731
I'm developing a plugin for another app. After I press debug, dll is generated and put into the folder for plugins of that app, after that that app is launched. I can't use breakpoint's. they are not fired up. When I move mouse upon breakpoint, there's a hint 'this breakpoint will not currently be hit. No symbols have been loaded for this document'.
Where the problem is?
PS: And yes, i'm running in the Debug mode and not in Release. Yesterday breakpoints worked as they should. Then they start working only in main file. After I deleted .pdb file breakpoints stoped firing-up (despite .pdb file is created again after build).
PSS: I'm new to all this stuff
UPD: When I put a breakpoint into main source file. Breakpoints are fired. Compiled dll is loaded (in modules) tab.
Upvotes: 0
Views: 1721
Reputation: 1325
Is your app 'third-party'? I mean it's not a part of VS project, right? In this case you should use Debug>Attach to process and choose main app process.
Upvotes: 1
Reputation: 941218
One simple explanation is that your plugin simply never got loaded. Debug + Break All and use Debug + Windows + Modules to check if your plugin is in the list. If it is then you can right-click it and choose "Symbol load information". It shows you where the debugger looked for the .pdb file.
Upvotes: 1