mail-archives/mono-bugs/2008-July/076724.html

145 строки
4.7 KiB
HTML
Исходник Постоянная ссылка Обычный вид История

2019-06-06 22:03:35 +03:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 409045] New: #DEBUG causes Debug.WriteLine in other files enabled.
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20409045%5D%20New%3A%20%23DEBUG%20causes%20Debug.WriteLine%20in%0A%20other%20files%20enabled.&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="076722.html">
<LINK REL="Next" HREF="076854.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 409045] New: #DEBUG causes Debug.WriteLine in other files enabled.</H1>
<B>bugzilla_noreply at novell.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20409045%5D%20New%3A%20%23DEBUG%20causes%20Debug.WriteLine%20in%0A%20other%20files%20enabled.&In-Reply-To="
TITLE="[Mono-bugs] [Bug 409045] New: #DEBUG causes Debug.WriteLine in other files enabled.">bugzilla_noreply at novell.com
</A><BR>
<I>Mon Jul 14 16:34:44 EDT 2008</I>
<P><UL>
<LI>Previous message: <A HREF="076722.html">[Mono-bugs] [Bug 383357] Novell c# LDAP api, LdapConnection. Disconnect does not clear the socket connections
</A></li>
<LI>Next message: <A HREF="076854.html">[Mono-bugs] [Bug 409045] #define DEBUG causes Debug.WriteLine in other files enabled.
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#76724">[ date ]</a>
<a href="thread.html#76724">[ thread ]</a>
<a href="subject.html#76724">[ subject ]</a>
<a href="author.html#76724">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE><A HREF="https://bugzilla.novell.com/show_bug.cgi?id=409045">https://bugzilla.novell.com/show_bug.cgi?id=409045</A>
Summary: #DEBUG causes Debug.WriteLine in other files enabled.
Product: Mono: Class Libraries
Version: 1.9.0
Platform: i386
OS/Version: Ubuntu
Status: NEW
Severity: Normal
Priority: P5 - None
Component: System
AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">dennis84225 at gmail.com</A>
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
CC: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">dennis84225 at gmail.com</A>
Found By: Customer
Created an attachment (id=227684)
--&gt; (<A HREF="https://bugzilla.novell.com/attachment.cgi?id=227684">https://bugzilla.novell.com/attachment.cgi?id=227684</A>)
source files to reproduce the bug
Description of Problem:
#DEBUG in one file with no Debug.WriteLine commands causes Debug.WriteLine in
other files enabled without defining debug elsewhere in the compilation.
Steps to reproduce the problem:
1. gmcs -output:/Test.exe Program.cs Class1.cs
2. mono Test.exe
Actual Results:
&quot;debug message 1&quot;
Expected Results:
nothing
How often does this happen?
every time
Additional Information:
On MS.NET (Windows) it prints nothing but Mono (Linux) prints the message
written by Debug.WriteLine. And according to
[<A HREF="http://msdn.microsoft.com/en-us/library/system.diagnostics.debug(VS.85">http://msdn.microsoft.com/en-us/library/system.diagnostics.debug(VS.85</A>).aspx],
it shouldn't be printed out.
--
Configure bugmail: <A HREF="https://bugzilla.novell.com/userprefs.cgi?tab=email">https://bugzilla.novell.com/userprefs.cgi?tab=email</A>
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="076722.html">[Mono-bugs] [Bug 383357] Novell c# LDAP api, LdapConnection. Disconnect does not clear the socket connections
</A></li>
<LI>Next message: <A HREF="076854.html">[Mono-bugs] [Bug 409045] #define DEBUG causes Debug.WriteLine in other files enabled.
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#76724">[ date ]</a>
<a href="thread.html#76724">[ thread ]</a>
<a href="subject.html#76724">[ subject ]</a>
<a href="author.html#76724">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>