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

Visual Studio Won't Debug 1 page

P: n/a
Hi,

I'm trying to debuf an aspnet app. When I invoke the debugger I can
place a break point in any file except one. This file always gives by
the circle with the question mark in it.

Also the assembly doesn't take any of the changes I make in this file.
So I now the file is not part of the compiled assembly and that's why
I have this problem. But Why is it not part of the assembly?

It's part of my vs project. Has anyone had this problem?

-Scott
Jul 21 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Hi Scott,

Are you sure it is on a place where is an action.
dim a as integer will give this behaviour when you place on that a
breakpoint.

And is it real a part of your application (an included file)

Cor
Jul 21 '05 #2

P: n/a
Hi Scott,

Are you sure it is on a place where is an action.
dim a as integer will give this behaviour when you place on that a
breakpoint.

And is it real a part of your application (an included file)

Cor
Jul 21 '05 #3

P: n/a
Hi Scott:
"Scott Nichols" <sn******@cyscript.com> wrote in message
news:4a**************************@posting.google.c om...
Hi,

I'm trying to debuf an aspnet app. When I invoke the debugger I can
place a break point in any file except one. This file always gives by
the circle with the question mark in it.
Scott, is this the case across the board anywhere in the file, or is it just
one one line? The question mark tells you the line won't be hit.
Also the assembly doesn't take any of the changes I make in this file.
So I now the file is not part of the compiled assembly and that's why
I have this problem. But Why is it not part of the assembly?
Do you have multiple projects? What kind of file is it? When you say the
changes don't take, do you mean that it won't let you edit, or if you edit
the changes are undone or you can't save?

Is there any way the file is marked read only , perhaps b/c of copying from
a CD or from source control? (You'd probably have some other indication but
I ask just to be thorough).

It's part of my vs project. Has anyone had this problem?
Knowing the file type would really help, but where did it come from? Did
you add it just like a regular project file or did you get it from somewhere
else? If somehwere else, then it may be the read only issue. If you just
created it like all the other files, then it's perplexing indeed. BTW, is
the project under source control? If so, have you gotten any check out
messages or anything that asks if you want to overwrite the checked out
version?

Just for kicks, try excluding the file and then including it again. If this
doesn't fix it, remove the file and create a new one (if it's a form, add a
new form with the same name after you removed it, if it's a class, do the
same , whatever it is, do the same). Then, just open the file in Notepad
and copy the entire contents of the file. Paste it over the contents of the
new one you just created. Make sure you adjust namespaces and the like so
you won't get any accidental errors referencing it. Finally, check the
dependencies...are you using any libraries in the form that the rest of the
project isn't? If so, maybe you havea a bad reference.

Let me know.

Bill
-Scott

Jul 21 '05 #4

P: n/a
Hi Scott:
"Scott Nichols" <sn******@cyscript.com> wrote in message
news:4a**************************@posting.google.c om...
Hi,

I'm trying to debuf an aspnet app. When I invoke the debugger I can
place a break point in any file except one. This file always gives by
the circle with the question mark in it.
Scott, is this the case across the board anywhere in the file, or is it just
one one line? The question mark tells you the line won't be hit.
Also the assembly doesn't take any of the changes I make in this file.
So I now the file is not part of the compiled assembly and that's why
I have this problem. But Why is it not part of the assembly?
Do you have multiple projects? What kind of file is it? When you say the
changes don't take, do you mean that it won't let you edit, or if you edit
the changes are undone or you can't save?

Is there any way the file is marked read only , perhaps b/c of copying from
a CD or from source control? (You'd probably have some other indication but
I ask just to be thorough).

It's part of my vs project. Has anyone had this problem?
Knowing the file type would really help, but where did it come from? Did
you add it just like a regular project file or did you get it from somewhere
else? If somehwere else, then it may be the read only issue. If you just
created it like all the other files, then it's perplexing indeed. BTW, is
the project under source control? If so, have you gotten any check out
messages or anything that asks if you want to overwrite the checked out
version?

Just for kicks, try excluding the file and then including it again. If this
doesn't fix it, remove the file and create a new one (if it's a form, add a
new form with the same name after you removed it, if it's a class, do the
same , whatever it is, do the same). Then, just open the file in Notepad
and copy the entire contents of the file. Paste it over the contents of the
new one you just created. Make sure you adjust namespaces and the like so
you won't get any accidental errors referencing it. Finally, check the
dependencies...are you using any libraries in the form that the rest of the
project isn't? If so, maybe you havea a bad reference.

Let me know.

Bill
-Scott

Jul 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.