![]() |
|
|
|
#1 |
|
Hi,
Need some help with debugging a asp.net, C# project. When I set a breakpoint and run the application the breakpoint gets a question mark inside, and the "hover message" is: "The breakpoint will not currently be hit. No symbols have been loaded for this dokument" Any suggestions to why the breakpoints is not hit will be highly appreciated. Totto Totto |
|
|
|
|
#2 |
|
Posts: n/a
|
Did you set up your compilation configuration for debugging the project?
-- HTH, Kevin Spencer ..Net Developer Microsoft MVP Big things are made up of lots of little things. "Totto" <> wrote in message news:uaE51#... > Hi, > Need some help with debugging a asp.net, C# project. > When I set a breakpoint and run the application the breakpoint gets a > question mark inside, and the "hover message" is: > "The breakpoint will not currently be hit. No symbols have been loaded for > this dokument" > > Any suggestions to why the breakpoints is not hit will be highly > appreciated. > > Totto > > Kevin Spencer |
|
|
|
#3 |
|
Posts: n/a
|
Make sure you have debug="true" in the web.config. And, make sure debugging
is allowed in this website with the Internet Services Manager. You may also wish to check machine.config, as some settings can be set here to prevent debug. After that, start a debug build in VS.NET (or alternately, start Internet Explorer and attach IE to VS.NET - debug menu >> processes ...) and you should be able to hit the breakpoint once the compile is complete. Make sure you are compiling a debug and not a release build, or the .pdb it is looking fo will not be created. You may see a question mark, at first, when you hit debug, but it should disappear once the compile is finished and the page is requested. -- Gregory A. Beamer MVP; MCP: +I, SE, SD, DBA ************************************************ Think Outside the Box! ************************************************ "Totto" <> wrote in message news:uaE51%... > Hi, > Need some help with debugging a asp.net, C# project. > When I set a breakpoint and run the application the breakpoint gets a > question mark inside, and the "hover message" is: > "The breakpoint will not currently be hit. No symbols have been loaded for > this dokument" > > Any suggestions to why the breakpoints is not hit will be highly > appreciated. > > Totto > > Cowboy \(Gregory A. Beamer\) [MVP] |
|
|
|
#4 |
|
Posts: n/a
|
Hi Gregory,
After doing what you suggested I got rid of the question mark, but still no hit on the breakpoints. Have checked the .pdb files and they are of same date as the .dll's. Any other suggestions ? (All other projects on the web server debug ok!) Tnx Totto "Cowboy (Gregory A. Beamer) [MVP]" <> skrev i melding news:... > Make sure you have debug="true" in the web.config. And, make sure debugging > is allowed in this website with the Internet Services Manager. You may also > wish to check machine.config, as some settings can be set here to prevent > debug. > > After that, start a debug build in VS.NET (or alternately, start Internet > Explorer and attach IE to VS.NET - debug menu >> processes ...) and you > should be able to hit the breakpoint once the compile is complete. Make sure > you are compiling a debug and not a release build, or the .pdb it is looking > fo will not be created. You may see a question mark, at first, when you hit > debug, but it should disappear once the compile is finished and the page is > requested. > > -- > Gregory A. Beamer > MVP; MCP: +I, SE, SD, DBA > > ************************************************ > Think Outside the Box! > ************************************************ > "Totto" <> wrote in message > news:uaE51%... > > Hi, > > Need some help with debugging a asp.net, C# project. > > When I set a breakpoint and run the application the breakpoint gets a > > question mark inside, and the "hover message" is: > > "The breakpoint will not currently be hit. No symbols have been loaded for > > this dokument" > > > > Any suggestions to why the breakpoints is not hit will be highly > > appreciated. > > > > Totto > > > > > > Totto |
|
|
|
#5 |
|
Posts: n/a
|
Hi, Gregory
Now the application is hitting the breakpoints. After making a new install of IIS it worked ok. Tanks for your help. Totto "Cowboy (Gregory A. Beamer) [MVP]" <> skrev i melding news:... > Make sure you have debug="true" in the web.config. And, make sure debugging > is allowed in this website with the Internet Services Manager. You may also > wish to check machine.config, as some settings can be set here to prevent > debug. > > After that, start a debug build in VS.NET (or alternately, start Internet > Explorer and attach IE to VS.NET - debug menu >> processes ...) and you > should be able to hit the breakpoint once the compile is complete. Make sure > you are compiling a debug and not a release build, or the .pdb it is looking > fo will not be created. You may see a question mark, at first, when you hit > debug, but it should disappear once the compile is finished and the page is > requested. > > -- > Gregory A. Beamer > MVP; MCP: +I, SE, SD, DBA > > ************************************************ > Think Outside the Box! > ************************************************ > "Totto" <> wrote in message > news:uaE51%... > > Hi, > > Need some help with debugging a asp.net, C# project. > > When I set a breakpoint and run the application the breakpoint gets a > > question mark inside, and the "hover message" is: > > "The breakpoint will not currently be hit. No symbols have been loaded for > > this dokument" > > > > Any suggestions to why the breakpoints is not hit will be highly > > appreciated. > > > > Totto > > > > > > Totto |
|