Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 27th, 2004, 10:23 AM
Registered User
Points: 36, Level: 1
Points: 36, Level: 1 Points: 36, Level: 1 Points: 36, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2004
Location: Birmingham, AL, USA.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can't debug

We're trying to set up remote user access on our Win2k3 server so that some Indian coders can terminal into the server desktop and run Visual Studio without it being installed on their local machines.

I've got everything set up except that when I compile, then run my C# code to debug it, I can't. The red dot next to the breakpoint has a question mark in it, and it says "The breakpoint will not currently be hit. No symbols have been loaded for this document."

I have compiled the code to a fresh DLL. So I'm definitely running the right DLL.

My local box debugs fine. The only difference is that when I run it locally, I get a line in the Output window stating "Auto-attach to process '[2988] aspnet_wp.exe' on machine 'WA10015USG93264' succeeded." On the server, the message Auto-attaches to w3wp.exe, and there is no aspnet_wp.exe running on that system.

What can I do to enable the remotely logged in users to develop and debug on this server?
Reply With Quote
  #2 (permalink)  
Old July 27th, 2004, 12:34 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

I know that I have terminal serviced into my machines and been able to debug so I don't know what the problem might be. Although perhaps the problem is that you are not looking at all the processes. In the task manager processes tab, you can check the "Show processes for all users" checkbox and you should see all processes including SYSTEM/ASPNET processes (one of which is aspnet_wp).

However, I see a MAJOR problem with what you are trying to do. When you debug ASP.NET, you attach to the aspnet worker process. Well, that process is being used by each developer on that box to view pages. You aren't going to be able to have 2 people debug at the same time. Also, if someone is debugging, and they are walking thru their code, the aspnet process is suspended, so no other page request will run on the server. All the other users will have to wait until the current debugger is done and puts the process back into run mode. I imagine this is going to cause a significant problem in development efficiency.
Reply With Quote
  #3 (permalink)  
Old July 27th, 2004, 12:52 PM
Registered User
Points: 36, Level: 1
Points: 36, Level: 1 Points: 36, Level: 1 Points: 36, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2004
Location: Birmingham, AL, USA.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well, it's the only way I'm going to get the India devs able to do anything resembling work. Thanks to the idiots who wet up the line to India.

Thanks for the help


Reply With Quote
  #4 (permalink)  
Old July 27th, 2004, 02:28 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

What happens when you put your Web sites in High Isolation mode? Would that separate the aspnet worker process, allowing you to debug and run multiple sites at the same time? Or would they still be using (and blocking) the same main process?

(Can't test it right now; otherwise I would have....;) )

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: No Association by Silverchair (Track 5 from the album: Freak Show) What's This?
Reply With Quote
  #5 (permalink)  
Old July 27th, 2004, 03:16 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

I did a test with 2 web applications running in Isolated mode. Reset IIS and launched each. I watched the aspnet_wp.exe process memory usage escalate when the applications were run, but did not see 2 separate processes. So my conclusion, even with that, the problem persists.
Reply With Quote
  #6 (permalink)  
Old July 27th, 2004, 03:22 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hmmm, what a pity. That would have been a cheap and quick solution.

If I recall correctly, MS advices to build on a local IIS in the "Team Deployment" document. I guess one of the reasons of that advice is debugging.

Bummer.

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Black Moon Creeping by The Black Crowes (Track 7 from the album: The Southern Harmony And Musical Companion) What's This?
Reply With Quote
  #7 (permalink)  
Old July 28th, 2004, 10:16 AM
Friend of Wrox
Points: 3,489, Level: 24
Points: 3,489, Level: 24 Points: 3,489, Level: 24 Points: 3,489, Level: 24
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Central, NJ, USA.
Posts: 1,102
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Quote:
quote:Originally posted by sithlrd
 Well, it's the only way I'm going to get the India devs able to do anything resembling work. Thanks to the idiots who wet up the line to India.
Another reason not to offshore work... Paying more for quality developers in your home country that can do the job is much less expensive than the hoops and stress that you go through when dealing with an offshore company.

Any developer supporting offshoring of work is just keeping his friends unemployed.


Hal Levy
Web Developer, PDI Inc.

NOT a Wiley/Wrox Employee
Reply With Quote
  #8 (permalink)  
Old July 28th, 2004, 12:00 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts
Default

Amen.

J
Reply With Quote
  #9 (permalink)  
Old July 28th, 2004, 12:04 PM
Registered User
Points: 36, Level: 1
Points: 36, Level: 1 Points: 36, Level: 1 Points: 36, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2004
Location: Birmingham, AL, USA.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote: Any developer supporting offshoring of work is just keeping his friends unemployed.
Around here it's referred to as "supporting mortgage payments until the right offer comes along". And all my friends have left the development side of the industry for greener pastures in the non-cubicle sector. I'm the last holdout.

Back to topic: we did figure out how to get it situated. The advice given by Imar wasn't what fixed it, but it did lead me in a very roundabout way to the right configuration.

Thanks all.

Reply With Quote
  #10 (permalink)  
Old July 28th, 2004, 05:00 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Quote:
quote:The advice given by Imar wasn't what fixed it, but it did lead me in a very roundabout way to the right configuration.
Want to share that configuration with us? I am really curious how you fixed it.

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Debug arholly Access VBA 19 December 18th, 2006 01:52 PM
Debug Programe u.muslimboy BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 3 October 5th, 2006 02:22 PM
Debug.Assert BrianWren VB.NET 2002/2003 Basics 1 March 7th, 2005 05:33 PM
C++ Debug Problem junebug C++ Programming 1 February 11th, 2005 01:41 PM
Can't Debug shmacgregor General .NET 6 March 1st, 2004 05:10 PM



All times are GMT -4. The time now is 01:55 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.