Visual Studio Won't Debug 1 page

  • Thread starter Thread starter Scott Nichols
  • Start date Start date
S

Scott Nichols

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
 
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
 
Hi Scott:
Scott Nichols said:
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
 
Back
Top