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