473,405 Members | 2,338 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,405 software developers and data experts.

Can't debug?

Hi all,

I originally posted this question microsoft.public.inetserver.asp.general.
Since this is an ASP.Net question (well, actually, it's a Visual Studio
question, but that's splitting hairs), I was told to re-post the question in
this NG. I actually think that I've found an answer to the question myself,
but in case someone saw the original message thread and comes here looking
for the resolution I'll post the original question and what I think is the
answer...
I'm a very experienced VB.Net developer just starting to climb up
the ASP.Net learning curve. I followed a couple of the beginning
"how to" tutorials included with the MSDN docs, but I've run into
a problem that I can't figure out. When I run my simple ASP.Net
web app under the debugger, it doesn't stop at any breakpoints.

I'm using VS 2005 Team Suite SP1. I created the solution by
selecting "Create: Website" from the start page and selecting
the "ASP.Net Web Site" template.
[snip]
The one thing that I didn't include in my original question was the small
detail that I'm running this on Vista. When I run Visual Studio as
Administrator then the debugger works correctly. This could be either
because I do, in fact, need to run with admin credentials to get the web
debugger to work, or it could be that some Visual Studio setting is
different between the admin and non-admin users.

I haven't yet had a reason to install VS 2008 anywhere. Does VS 2008 have
any of the Windows Vista compatibility problems that VS 2005 has? If not
then I'll just install it and be done with it.

TIA - Bob

Aug 25 '08 #1
3 1017
Hi Bob,

Thanks for posting your answer. It is very useful to us. I am Hongye
Sun(MSFT) and we have already talked in another NG before.

I have did a test against VS2008 SP1 on Windows Vista Enterprise with a
non-administrator account, and it did work correctly.

For VS2005, I successfully reproduced the strange behavior in Vista. Other
than the solution you provided to run VS2005 as administrator, you can also
manually attach the debugger to the process which hosts the web server
after the web application starts. It works for me, too.

Another workaround is from someone else in the forum who had the similar
problem already: http://forums.asp.net/p/1078163/1592315.aspx#1592315. As
one suggested, alternatively, using Explorer navigate to where you
installed visual studio and locate the devenv.exe. Right click on it and
choose properties. In the Properties dialog, select the Compatibility tab.
Towards the bottom you will see a checkbox with the title "Run this program
as an Administrator". Check this box and click OK. In this way, you can
force the user to run VS2005 as administrator.

Hope it helps.

If you have any other questions or concerns, please do not hesitate to
contact us. It is always our pleasure to be of assistance. Have a nice day.

Regards,
Hongye Sun (ho*****@online.microsoft.com, remove 'online.') Microsoft
Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subs...#notifications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://support.microsoft.com/select/...tance&ln=en-us.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Aug 26 '08 #2
Thanks Hongye. I installed VS 2008 and I'm a happy camper.

Aug 26 '08 #3
You are welcome, Bob. Have a nice day!

Regards,
Hongye Sun (ho*****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.
*
This posting is provided "AS IS" with no warranties, and confers no rights.

Aug 27 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Davy | last post by:
Hi all, I use VC and gcc/gdb to compile and debug C/C++ files. But I found some of the debug version of the compiled files are too large to be run in a small RAM. Can I compile C/C++ Debug...
4
by: emma middlebrook | last post by:
I have a question regarding asserting ... here's some code: string GetAssertMessage() { ... prepare a message string and return it... } void SomeMethod() { ...
4
by: xTroLL | last post by:
Hi, I want to get the running mode (DEBUG or RELEASE) of my application ? Somebody can help me ? xTroLL --------------= Posted using GrabIt =---------------- ------= Binary Usenet...
16
by: Dean R. Henderson | last post by:
I have a project built for ASP.NET that recently started running really slow in debug mode (it takes about 10 seconds or more to step from one line of code to the next). This just started...
3
by: Mike | last post by:
I installed SP2 on my boxes and now I can no longer debug my asp.net web app. How can i fix that and be able to debug again?
9
by: dee | last post by:
Hi I'm about to upload my site and I have switched to release version. Is that enough or do I still need to disable <compilation defaultLanguage="vb" debug="true" /> the debug="true" in the .pdb...
15
by: Adam J. Schaff | last post by:
I have noticed that if a user closes a form via pressing return (either while the OK button has focus or if AcceptButton is set to OK for the form) then the "ENTER" keypress event fires ON THE...
6
by: pauldepstein | last post by:
To help me debug, I am writing a lot of information into a stream which I call debug. However, because of the large amount of time taken to print this information, I only want this printed while...
6
by: Andrew Rowley | last post by:
I am having trouble getting debug and release builds to work properly with project references using C++ .NET and Visual Studio 2003. I created a test solution, with a basic Windows form C++...
3
by: rorni | last post by:
Hi, I'm porting code from Windows to HP-UX 11, compiling with g++. I'm getting a compilation error on the system's debug.h include file, which is included very indirectly through a series of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.