Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 27th, 2004, 10:23 AM
Registered User
 
Join Date: Jul 2004
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?
 
Old July 27th, 2004, 12:34 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
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.
 
Old July 27th, 2004, 12:52 PM
Registered User
 
Join Date: Jul 2004
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


 
Old July 27th, 2004, 02:28 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 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?
 
Old July 27th, 2004, 03:16 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
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.
 
Old July 27th, 2004, 03:22 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 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?
 
Old July 28th, 2004, 10:16 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,101
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
 
Old July 28th, 2004, 12:00 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts
Default

Amen.

J
 
Old July 28th, 2004, 12:04 PM
Registered User
 
Join Date: Jul 2004
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.

 
Old July 28th, 2004, 05:00 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 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.





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





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