Breakpoint will not currently be hit
-
Hi, I have two projects in my project explorer which I would like to debug.The main project calls the other one with Process.Start(new ProcessStartInfo(SubExe, Variables) But when I set a breakpiont in my sub project and start the debugger I get the message The breakpoint will not currently be hit. No symbols have been loaded for this document I have alredy set the configuration to debug, deleted bin and obj folders with pdb and exe folders and rebuilt both projects. I would be very grateful for any suggestions
-
Hi, I have two projects in my project explorer which I would like to debug.The main project calls the other one with Process.Start(new ProcessStartInfo(SubExe, Variables) But when I set a breakpiont in my sub project and start the debugger I get the message The breakpoint will not currently be hit. No symbols have been loaded for this document I have alredy set the configuration to debug, deleted bin and obj folders with pdb and exe folders and rebuilt both projects. I would be very grateful for any suggestions
Close all instances of VisualStudio. Goto VSWebCache folder. Empty it. Now open the solution and Rebuild. Sometimes the cache goes out of sync.
Vasudevan Deepak Kumar Personal Homepage Tech Gossips
-
Close all instances of VisualStudio. Goto VSWebCache folder. Empty it. Now open the solution and Rebuild. Sometimes the cache goes out of sync.
Vasudevan Deepak Kumar Personal Homepage Tech Gossips
Thanks for the reply. But it doesn't work either :(
-
Hi, I have two projects in my project explorer which I would like to debug.The main project calls the other one with Process.Start(new ProcessStartInfo(SubExe, Variables) But when I set a breakpiont in my sub project and start the debugger I get the message The breakpoint will not currently be hit. No symbols have been loaded for this document I have alredy set the configuration to debug, deleted bin and obj folders with pdb and exe folders and rebuilt both projects. I would be very grateful for any suggestions
Perhaps it would be better to just start the process you want to debug and then use the debug process to hook into the thing you want to debug. If one of the projects you are trying to debug is a windows service, using the debug processes is a good way to debug. Hope that helps. Ben
-
Hi, I have two projects in my project explorer which I would like to debug.The main project calls the other one with Process.Start(new ProcessStartInfo(SubExe, Variables) But when I set a breakpiont in my sub project and start the debugger I get the message The breakpoint will not currently be hit. No symbols have been loaded for this document I have alredy set the configuration to debug, deleted bin and obj folders with pdb and exe folders and rebuilt both projects. I would be very grateful for any suggestions
It could also be that you set a breakpoint on a section of code that will never called. The debugger can figure this out when you start your app.
Dave Kreskowiak Microsoft MVP - Visual Basic
-
Perhaps it would be better to just start the process you want to debug and then use the debug process to hook into the thing you want to debug. If one of the projects you are trying to debug is a windows service, using the debug processes is a good way to debug. Hope that helps. Ben
Thats a good idea. The process I want to debug is expecting argumets from the caller procedure, but I think I can work around and this will work. Many Thaks.
-
It could also be that you set a breakpoint on a section of code that will never called. The debugger can figure this out when you start your app.
Dave Kreskowiak Microsoft MVP - Visual Basic
I place the breakpoint on a MessageBox which is displayed when I start the application but the breakpoint itself wont be hit
-
I place the breakpoint on a MessageBox which is displayed when I start the application but the breakpoint itself wont be hit
Configuration (Release) Mode?
Vasudevan Deepak Kumar Personal Homepage Tech Gossips
-
Configuration (Release) Mode?
Vasudevan Deepak Kumar Personal Homepage Tech Gossips
The way described by Ben is the solution to my problem. It works fine. Thanks for your help