The /debug:full flag for C# compiler is the key for making it work.

As you have pointed out, it would be nice for mscorlib.dll from checked
build to be compiled with this flag. Indeed, it was supposed to work
that way. A minor bug sneaked in: the references to the URTBLDENV
environment variable in rotorenv\bin\makefile.csc should have been
URTBUILDENV. You can either replace URTBLDENV with URTBUILDENV in
rotorenv\bin\makefile.csc. Or you can set URTBLDENV in your environment:

set URTBLDENV=chk
cd %ROTOR_DIR%\clr\src\bcl
build -c

-Jan

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 Yuan Yu
Sent: Friday, January 30, 2004 1:22 PM
To: [EMAIL PROTECTED]
Subject: [DOTNET-ROTOR] A Simple Build Question

When printing stack trace, I can get filename and line number
information
from my part of the code, but not from bcl code.  I suspect that
mscorlib
is built without all the debug information (even for a checked build).
How
could I build mscorlib so that I can get filename and line number?

Thanks,
-Yuan

===================================
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

Reply via email to