By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,239 Members | 1,493 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,239 IT Pros & Developers. It's quick & easy.

Suddenly Debugging Won't Work?

P: n/a
Hi:

I'm working away on my VB.NET web application and suddenly I find that I
can't set breakpoints for debugging any longer - I should say that I can
set them and that they are ignored.

I've checked all the obvious things - If anyone has any ideas as to
what's wrong I would appreciate hearing!

Thanks very much!

Fred
Nov 21 '05 #1
Share this Question
Share on Google+
14 Replies


P: n/a
are you in debug mode? because they will be ignored in release mode...
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:eL*************@TK2MSFTNGP11.phx.gbl...
Hi:

I'm working away on my VB.NET web application and suddenly I find that I
can't set breakpoints for debugging any longer - I should say that I can
set them and that they are ignored.

I've checked all the obvious things - If anyone has any ideas as to what's
wrong I would appreciate hearing!

Thanks very much!

Fred

Nov 21 '05 #2

P: n/a
Brian:

Yes - I am in debugging mode - both the project and the debug button
show. Also, my other projects are all working fine - just this one that
ignores all break points.

Thanks,

Fred

Brian Henry wrote:
are you in debug mode? because they will be ignored in release mode...
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:eL*************@TK2MSFTNGP11.phx.gbl...
Hi:

I'm working away on my VB.NET web application and suddenly I find that I
can't set breakpoints for debugging any longer - I should say that I can
set them and that they are ignored.

I've checked all the obvious things - If anyone has any ideas as to what's
wrong I would appreciate hearing!

Thanks very much!

Fred


Nov 21 '05 #3

P: n/a
what type of project is it? web, class lib, smart device, winforms?
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:e8**************@TK2MSFTNGP09.phx.gbl...
Brian:

Yes - I am in debugging mode - both the project and the debug button show.
Also, my other projects are all working fine - just this one that ignores
all break points.

Thanks,

Fred

Brian Henry wrote:
are you in debug mode? because they will be ignored in release mode...
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:eL*************@TK2MSFTNGP11.phx.gbl...
Hi:

I'm working away on my VB.NET web application and suddenly I find that I
can't set breakpoints for debugging any longer - I should say that I can
set them and that they are ignored.

I've checked all the obvious things - If anyone has any ideas as to
what's wrong I would appreciate hearing!

Thanks very much!

Fred



Nov 21 '05 #4

P: n/a
whoops sorry, didnt realize it said web app in your first post... in your
web.config is debug = "true" or "false"? if it is false then it will ignore
break points
"Brian Henry" <br**********@newsgroups.nospam> wrote in message
news:uM*************@TK2MSFTNGP09.phx.gbl...
what type of project is it? web, class lib, smart device, winforms?
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:e8**************@TK2MSFTNGP09.phx.gbl...
Brian:

Yes - I am in debugging mode - both the project and the debug button
show. Also, my other projects are all working fine - just this one that
ignores all break points.

Thanks,

Fred

Brian Henry wrote:
are you in debug mode? because they will be ignored in release mode...
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:eL*************@TK2MSFTNGP11.phx.gbl...

Hi:

I'm working away on my VB.NET web application and suddenly I find that I
can't set breakpoints for debugging any longer - I should say that I can
set them and that they are ignored.

I've checked all the obvious things - If anyone has any ideas as to
what's wrong I would appreciate hearing!

Thanks very much!

Fred

Nov 21 '05 #5

P: n/a
Hi Brian:

My project is a VB.NET Web Application.

Thanks,

Fred

Brian Henry wrote:
what type of project is it? web, class lib, smart device, winforms?
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:e8**************@TK2MSFTNGP09.phx.gbl...
Brian:

Yes - I am in debugging mode - both the project and the debug button show.
Also, my other projects are all working fine - just this one that ignores
all break points.

Thanks,

Fred

Brian Henry wrote:
are you in debug mode? because they will be ignored in release mode...
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:eL*************@TK2MSFTNGP11.phx.gbl...
Hi:

I'm working away on my VB.NET web application and suddenly I find that I
can't set breakpoints for debugging any longer - I should say that I can
set them and that they are ignored.

I've checked all the obvious things - If anyone has any ideas as to
what's wrong I would appreciate hearing!

Thanks very much!

Fred

Nov 21 '05 #6

P: n/a
Brian:

Yes - Debug is ste to "true" in the web.config and I'm running in debug
mode. I set break points in the code and they are COMPLETELY ignored -
very strange.

I'm thinking I might create a new project - copy all the code - and add
each page as an existing item to a new project if I don't find something
soon!?

I've been working with .NET for a year and I have never had this problem
until tonight!

Thanks so much again!

Fred

Brian Henry wrote:
whoops sorry, didnt realize it said web app in your first post... in your
web.config is debug = "true" or "false"? if it is false then it will ignore
break points
"Brian Henry" <br**********@newsgroups.nospam> wrote in message
news:uM*************@TK2MSFTNGP09.phx.gbl...
what type of project is it? web, class lib, smart device, winforms?
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:e8**************@TK2MSFTNGP09.phx.gbl...
Brian:

Yes - I am in debugging mode - both the project and the debug button
show. Also, my other projects are all working fine - just this one that
ignores all break points.

Thanks,

Fred

Brian Henry wrote:

are you in debug mode? because they will be ignored in release mode...
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:eL*************@TK2MSFTNGP11.phx.gbl...
>Hi:
>
>I'm working away on my VB.NET web application and suddenly I find that I
>can't set breakpoints for debugging any longer - I should say that I can
>set them and that they are ignored.
>
>I've checked all the obvious things - If anyone has any ideas as to
>what's wrong I would appreciate hearing!
>
>Thanks very much!
>
>Fred


Nov 21 '05 #7

P: n/a
Try restarting the server.

--
Eduardo A. Morcillo [MS MVP VB]
http://www.mvps.org/emorcillo
Nov 21 '05 #8

P: n/a
Eduardo:

I tried that - same thing!

Also, I have noticed that if I click a breakpoint I get the usual "red
dot" on the left side of the code window. When I run the program in
debug mode the line disapears and the break is ignored. When I
terminate the program the dot reappears.

I have tried many forms in the same project - I can't set a break anywhere.

If you have any ideas they will be greatly appreciated! Its Monday!

Thanks,

Fred
Eduardo A. Morcillo [MS MVP VB] wrote:
Try restarting the server.

Nov 21 '05 #9

P: n/a
Eduardo:

If it helps to figure this out - I created a new VB.NET web app and
copied one of my pages to it. Debugging works just fine for that page
in the new application - so there must be some setting somewhere that
prevents debugging.

Thanks,

Fred

Eduardo A. Morcillo [MS MVP VB] wrote:
Try restarting the server.

Nov 21 '05 #10

P: n/a
md
I didn't see the beginning of this thread, so this might have been mentioned
before. If so, sorry. Is the Solution Configuration combo on the toolbar set
to Release? If it is, then you won't be able to debug. Set it to Debug and
that should fix the problem. If this was already mentioned, then just ignore
this message.

Matt
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Eduardo:

I tried that - same thing!

Also, I have noticed that if I click a breakpoint I get the usual "red
dot" on the left side of the code window. When I run the program in
debug mode the line disapears and the break is ignored. When I
terminate the program the dot reappears.

I have tried many forms in the same project - I can't set a break anywhere.
If you have any ideas they will be greatly appreciated! Its Monday!

Thanks,

Fred
Eduardo A. Morcillo [MS MVP VB] wrote:
Try restarting the server.

Nov 21 '05 #11

P: n/a
Matt:

YOU ARE MY HERO!

I would swear that I checked that a dozen times last night - I took
another look and while the "active solution" was set to debug, the
project was indeed set to "release".

Changing the project setting has caused debug to work just fine once again!

Thanks VERY VERY much!

Fred

md wrote:
I didn't see the beginning of this thread, so this might have been mentioned
before. If so, sorry. Is the Solution Configuration combo on the toolbar set
to Release? If it is, then you won't be able to debug. Set it to Debug and
that should fix the problem. If this was already mentioned, then just ignore
this message.

Matt
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Eduardo:

I tried that - same thing!

Also, I have noticed that if I click a breakpoint I get the usual "red
dot" on the left side of the code window. When I run the program in
debug mode the line disapears and the break is ignored. When I
terminate the program the dot reappears.

I have tried many forms in the same project - I can't set a break


anywhere.
If you have any ideas they will be greatly appreciated! Its Monday!

Thanks,

Fred
Eduardo A. Morcillo [MS MVP VB] wrote:
Try restarting the server.


Nov 21 '05 #12

P: n/a
M
I have same experince and just reload the project then It stops at
breakpoints again

"Fred Nelson" <fr**@smartybird.com> wrote in message
news:OY*************@TK2MSFTNGP12.phx.gbl...
Hi Brian:

My project is a VB.NET Web Application.

Thanks,

Fred

Brian Henry wrote:
what type of project is it? web, class lib, smart device, winforms?
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:e8**************@TK2MSFTNGP09.phx.gbl...
Brian:

Yes - I am in debugging mode - both the project and the debug button show.Also, my other projects are all working fine - just this one that ignoresall break points.

Thanks,

Fred

Brian Henry wrote:

are you in debug mode? because they will be ignored in release mode...
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:eL*************@TK2MSFTNGP11.phx.gbl...
>Hi:
>
>I'm working away on my VB.NET web application and suddenly I find that I>can't set breakpoints for debugging any longer - I should say that I can>set them and that they are ignored.
>
>I've checked all the obvious things - If anyone has any ideas as to
>what's wrong I would appreciate hearing!
>
>Thanks very much!
>
>Fred

Nov 21 '05 #13

P: n/a
ah so it was what i thought it might be :)
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:Oo**************@tk2msftngp13.phx.gbl...
Matt:

YOU ARE MY HERO!

I would swear that I checked that a dozen times last night - I took
another look and while the "active solution" was set to debug, the project
was indeed set to "release".

Changing the project setting has caused debug to work just fine once
again!

Thanks VERY VERY much!

Fred

md wrote:
I didn't see the beginning of this thread, so this might have been
mentioned
before. If so, sorry. Is the Solution Configuration combo on the toolbar
set
to Release? If it is, then you won't be able to debug. Set it to Debug
and
that should fix the problem. If this was already mentioned, then just
ignore
this message.

Matt
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Eduardo:

I tried that - same thing!

Also, I have noticed that if I click a breakpoint I get the usual "red
dot" on the left side of the code window. When I run the program in
debug mode the line disapears and the break is ignored. When I
terminate the program the dot reappears.

I have tried many forms in the same project - I can't set a break


anywhere.
If you have any ideas they will be greatly appreciated! Its Monday!

Thanks,

Fred
Eduardo A. Morcillo [MS MVP VB] wrote:

Try restarting the server.



Nov 21 '05 #14

P: n/a
Brian:

Yes - you are a HERO also - I was not aware that the "release/debug"
could be set on the run button. I had checked the project settings and
it looked fine to me.

This is a lesson I will never forget!

Thanks for your help!!!

Fred

Brian Henry wrote:
ah so it was what i thought it might be :)
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:Oo**************@tk2msftngp13.phx.gbl...
Matt:

YOU ARE MY HERO!

I would swear that I checked that a dozen times last night - I took
another look and while the "active solution" was set to debug, the project
was indeed set to "release".

Changing the project setting has caused debug to work just fine once
again!

Thanks VERY VERY much!

Fred

md wrote:
I didn't see the beginning of this thread, so this might have been
mentioned
before. If so, sorry. Is the Solution Configuration combo on the toolbar
set
to Release? If it is, then you won't be able to debug. Set it to Debug
and
that should fix the problem. If this was already mentioned, then just
ignore
this message.

Matt
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl. ..
Eduardo:

I tried that - same thing!

Also, I have noticed that if I click a breakpoint I get the usual "red
dot" on the left side of the code window. When I run the program in
debug mode the line disapears and the break is ignored. When I
terminate the program the dot reappears.

I have tried many forms in the same project - I can't set a break

anywhere.
If you have any ideas they will be greatly appreciated! Its Monday!

Thanks,

Fred
Eduardo A. Morcillo [MS MVP VB] wrote:
>Try restarting the server.
>

Nov 21 '05 #15

This discussion thread is closed

Replies have been disabled for this discussion.