I am trying to debug the Rotor's (managed) base class library. I am not
trying to debug the unmanaged code.
The problem is that the debugger can not load the symbols for the BCL.
Gajah Mada
===
This list is hosted by DevelopMentor® http://www.develop.com
In the gcsmppriv.h file, we have
class heap_segment
{
public:
BYTE* allocated;
BYTE* committed;
BYTE* reserved;
BYTE* used;
BYTE* mem;
BYTE* plan_allocated;
...
}
In the documentations, 'used' field points to the end of the currently
initialized portion of the segment. Is
Hi,
What is the maximum number of clients that can be handled simultaneously by
a Singleton remotable object (in .NET Remoting)?
Is the number the same in the CLR and CLI? Does the answer relatively depend
on the host machine (uniprocessor/multiprocessor)?
I noticed when I simulated 100 clients
Yes. I have verified that the code is in fact running (the logging is
successful).
I managed to have the Expect script and the CLR-based HelloWorld program to
talk to each other. However, very sadly, it is only successful in Cygwin. As
for any Windows-lovers, I hope this can be done in a pure
Thank you for the reply.
I was trying to run a C# program with 'Expect for Windows' (Tcl-based). When
I run a C# HelloWorld program using the CLR (i.e. ask the Expect script to
run the HelloWorld in the CLR), the program never display the Hello World!
in the console. However, running using the
Thank you for the reply.
I tried compiling the HelloWorld.cs with '/target:exe' option. However, it
did not solve the problem.
Compiling with 'csc HelloWorld.cs' is the same as with 'csc /target:exe
HelloWorld.cs'. By default, the '/target:exe' option is included when we use
'csc'.
One strange
Hi,
I could not successfully follow the steps to use the SOS extension as in
documented in sscli\docs\debugging\sos.html. Everytime I try to set a
breakpoint (after loading the SOS), it fails. For example:
0:000 bp rotor_pal!pal_writefile
*** WARNING: Unable to verify checksum for
Please ignore the previous message. It certainly works by using the cordbg.
Memomana
===
This list is hosted by DevelopMentor® http://www.develop.com
ASP.NET courses you may be interested in:
Guerrilla ASP.NET
15 March 2004, in Boston, MA
17 May 2004 in
Is there a way to debug the managed codes in the SSCLI\clr\src\bcl directory?
I have changed two .cs files of the base classes. However, I do not know how
to debug it.
Thank you beforehand.
Memomana
===
This list is hosted by DevelopMentor®
Thank you.
Can we do it with VS .NET?
Memomana
===
This list is hosted by DevelopMentor® http://www.develop.com
ASP.NET courses you may be interested in:
Guerrilla ASP.NET
15 March 2004, in Boston, MA
17 May 2004 in Torrance, CA
7 June 2004, London, UK
What is the initial gen1 heap size? It seems that gen1 heap is enlarged
after several GC, but what is its initial size?
Any help will be appreciated. Thank you.
Memomana
===
This list is hosted by DevelopMentor® http://www.develop.com
ASP.NET courses you may be
I mean that when GC occurs there will be one thread performing GC. Will this
particular thread create some new objects to support the garbage collection
process?
===
This list is hosted by DevelopMentor® http://www.develop.com
ASP.NET courses you may be interested
The easy way would be to test the profiler against an application that will
cause only one GC.
The simplest would be to create a HelloWorld program that calls
Systsm.GC.Collect() once. This simple HelloWorld application will also
guarantee that there is no MovedReferences callback is
I have questions regarding allocations in the GC heap. I really hope someone
could help me on these.
#1 Are static objects allocated in the GC heap?
#2 Are VM internal objects allocated in the GC heap?
#3 Are weak references to delegates allocated in the GC heap?
#4 Does ObjectAllocated
There are several root objects (notified by the RootReferences callback
method) that are unknown. What I mean by unknown is that those root object
allocations are never notified by the ObjectAllocated callback method.
Some of those unknown objects are of type System.Security.SecurityElement,
I have a question regarding the references to the libraries in Rotor and
Visual Studio .NET.
Let me give you a very small example program.
---start---
using System;
using System.Xml;
public class Delete
{
public static void Main()
{
XmlDocument doc = new
I noticed that when we start a C# application using the CLI, there will be
different threads doing allocations before the user application starts. I
can see that by using the default profiler (included in the SSCLI distribution).
I think these different threads are allocating objects that are
#1
In C#, for example, the code
System.Console.WriteLine(Hello World);
Does this create a System.String object, with own copy of Hello World in
Unicode encoding, in the run-time heap?
Does the run-time access the #US stream (user-defined string heap) to look
for the particular string and make a
In the Metadata Unmanaged API, it is mentioned that strings (including the
user-defined strings) are stored in the metadata string pool.
However, why are there a lot of System.String object being created during an
application execution? I turned on the profiler (ObjectAllocated callback),
that
How do we capture each method invocation and return? Is it possible to
capture its information as well?
Thank you very much.
===
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
The CProfilerCallBack::JITCompilationStarted function only displays the
method name that is being jitted.
if ( GetMethodNameFromFunctionId( functionId, wszClass, wszMethod ) )
{
ProfilerPrintf(JITCompilationStarted: %ls::%ls\n,wszClass,wszMethod);
}
else
{
ProfilerPrintf(
21 matches
Mail list logo