473,386 Members | 1,823 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Visual Studio Won't Debug 1 page

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
4 2218
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

33
by: John Timbers | last post by:
I'd like to purchase Visual C# .Net for learning purposes only since it's a lot cheaper than Visual Studio (note that I'm a very experienced C++ developer). Can someone simply clarify the basic...
0
by: gerd | last post by:
Hello, I want to port an MFC Application from Visual Studio 6 MFC application to Visual C++ 2005 express edition beta. While building i get following error: ------ Build started: Project:...
0
by: gerd | last post by:
Hello, I want to port an MFC Application from Visual Studio 6 MFC application to Visual C++ 2005 express edition beta. While building i get following error: ------ Build started: Project:...
3
by: Greg B | last post by:
Created a simple Win32 application (using Visual Studio wizard)... Am using Visual Studio (Enterprise Edition) 6.0, as well as Service Pack 5. At the start of 'WinMain' function, added the...
11
by: Larry Bird | last post by:
I'm attempting to build my first VC++ .net project and I'm unable to get a clean compile. Please view code below: // This is the main project file for VC++ application project // generated...
4
by: Andy | last post by:
In visual studio, I have an asp.net project. When I debug, I have to manually attach to aspnet_wp.exe. My project used to automatically attach to this process. How do I get it to automatically...
2
by: sarojanand | last post by:
Hi, I have created a project (abc) in my wwwroot folder on my system. From visual studio, i am able to run and view this page. Now I have deployed on wwwroot folder and for this I have edited...
4
by: kurt.kurtsmith | last post by:
I am trying to import a tlb from a COM server(exe) I wrote with the following statement: #import "C:\\em2\\EM\\src\\core\\UMOSEFax\\Debug\\UMOSEFax.tlb" no_namespace auto_search the tlh and...
3
by: =?Utf-8?B?UGhpbCBKb2huc29u?= | last post by:
Hi, This is an issue that happens to me and everybody else I know and I've never found a way around it. In Visual Studio (currently using 2003 but the same has happened for me in 2005 and...
0
jwwicks
by: jwwicks | last post by:
Introduction This tutorial describes how to use Visual Studio to create a new C++ program, compile/run a program, resume work on an existing program and debug a program. It is aimed at the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.