Bug 311967 (MONO37598) - pending init error when using --debug
Summary: pending init error when using --debug
Status: RESOLVED FIXED
Alias: MONO37598
Product: Mono: Debugger
Classification: Mono
Component: backend (show other bugs)
Version: unspecified
Hardware: Other Debian Woody
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-04 20:59 UTC by Zoltan Varga
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 18:06:16 UTC


---- Reported by vargaz@freemail.hu 2003-02-04 13:59:11 MST ----

The debugger causes pending init errors for some classes. A testcase is
attached below. When I run it with --debug, mono aborts with a pending
init error.

==========================================================================

using System.Reflection;

class B {
	public C returnC () {
		return new C ();
	}
}

class A : B {
}	

class C : A {
}

class Bug {

	static public void Main() {
		typeof(Bug).Assembly.GetType ("A");
	}
}
=========================================================================



---- Additional Comments From vargaz@freemail.hu 2003-12-20 13:17:04 MST ----

This was fixed a loooooong time ago.