Go Back   Velocity Reviews > Newsgroups > ASP Net
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

ASP Net - Heip on debugging

 
Thread Tools Search this Thread
Old 06-07-2004, 02:02 PM   #1
Default Heip on debugging


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
  Reply With Quote
Old 06-07-2004, 02:06 PM   #2
Kevin Spencer
 
Posts: n/a
Default Re: Heip on debugging
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
  Reply With Quote
Old 06-07-2004, 02:13 PM   #3
Cowboy \(Gregory A. Beamer\) [MVP]
 
Posts: n/a
Default Re: Heip on debugging
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]
  Reply With Quote
Old 06-08-2004, 08:24 AM   #4
Totto
 
Posts: n/a
Default Re: Heip on debugging
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
  Reply With Quote
Old 06-09-2004, 10:29 AM   #5
Totto
 
Posts: n/a
Default Re: Heip on debugging
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
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46