Re: [DOTNET-ROTOR] C# compiler debugging

2004-02-12 Thread Barry Bond
It's just a native-code app, so it can be debugged with Visual Studio
without needing to do any work ahead of time.

From inside your Rotor build window, run devenv.exe /debugexe
%TARGETCOMPLUS%\csc.exe foo.cs .  That will launch Visual Studio and
tell it to debug the C# compiler as it compiles foo.cs.  From there,
file/open your sscli\clr\src\csharp\csharp\sccomp\compiler.cpp and set
breakpoints in it.

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

-Original Message-
From: Discussion of the Rotor Shared Source CLI implementation
[mailto:[EMAIL PROTECTED] On Behalf Of SUBSCRIBE
DOTNET-ROTOR rb 531
Sent: Thursday, February 12, 2004 8:49 AM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET-ROTOR] C# compiler debugging

hi,

I guess, I asked a meaningless question. Is there a way to debug the
compiler.cpp file? I need help ASAP. Is there any documentation
somewhere?

Thanks.

===
This list is hosted by DevelopMentor(r)  http://www.develop.com
NEW! ASP.NET courses you may be interested in:

2 Days of ASP.NET, 29 Sept 2003, in Redmond
http://www.develop.com/courses/2daspdotnet

Guerrilla ASP.NET, 13 Oct 2003, in Boston
http://www.develop.com/courses/gaspdotnet

View archives and manage your subscription(s) at
http://discuss.develop.com

===
This list is hosted by DevelopMentorĀ®  http://www.develop.com
NEW! ASP.NET courses you may be interested in:

2 Days of ASP.NET, 29 Sept 2003, in Redmond
http://www.develop.com/courses/2daspdotnet

Guerrilla ASP.NET, 13 Oct 2003, in Boston
http://www.develop.com/courses/gaspdotnet

View archives and manage your subscription(s) at http://discuss.develop.com


Re: [DOTNET-ROTOR] C# compiler debugging

2004-02-11 Thread Ni, John
Tao,

Is there anyway that I could be removed from this distribution list. 

John
-Original Message-
From: Discussion of the Rotor Shared Source CLI implementation
[mailto:[EMAIL PROTECTED] On Behalf Of SUBSCRIBE
DOTNET-ROTOR ramu bachala
Sent: Thursday, February 12, 2004 10:27 AM
To: [EMAIL PROTECTED]
Subject: [DOTNET-ROTOR] C# compiler debugging

Hello,

I am new to shared source CLI. I am trying to debug C# compiler
(csc.exe).
I would like to see the process flow. Can anyone tell me how can I do
this?
Is there anyway that I can create a solution in the visual studio from
the
source files I downloaded? Any kind of input is appreciated.

Thank you

===
This list is hosted by DevelopMentor(r)  http://www.develop.com
NEW! ASP.NET courses you may be interested in:

2 Days of ASP.NET, 29 Sept 2003, in Redmond
http://www.develop.com/courses/2daspdotnet

Guerrilla ASP.NET, 13 Oct 2003, in Boston
http://www.develop.com/courses/gaspdotnet

View archives and manage your subscription(s) at
http://discuss.develop.com

===
This list is hosted by DevelopMentorĀ®  http://www.develop.com
NEW! ASP.NET courses you may be interested in:

2 Days of ASP.NET, 29 Sept 2003, in Redmond
http://www.develop.com/courses/2daspdotnet

Guerrilla ASP.NET, 13 Oct 2003, in Boston
http://www.develop.com/courses/gaspdotnet

View archives and manage your subscription(s) at http://discuss.develop.com