[Mono-bugs] [Bug 430330] New "trace for humans" option

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Sep 26 16:44:34 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=430330

User aaragoneses at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430330#c4





--- Comment #4 from Andrés G. Aragoneses <aaragoneses at novell.com>  2008-09-26 14:44:34 MDT ---
What I mean is that I've seen a lot of times this:

 . ENTER: System.Console:WriteLine (string)([STRING:0x7f1b70e5ff50:dir /
exists], )
 . . ENTER: System.IO.SynchronizedWriter:WriteLine
(string)(this:0x7f1b70e44f88[System.IO.SynchronizedWriter Test.exe],
[STRING:0x7f1b70e5ff50:dir / exists], )
 . . . ENTER: System.Threading.Monitor:Enter
(object)([System.IO.SynchronizedWriter:0x7f1b70e44f88], )
 . . . . ENTER: (wrapper managed-to-native)
System.Threading.Monitor:Monitor_try_enter
(object,int)([System.IO.SynchronizedWriter:0x7f1b70e44f88], -1, )
<snip>
 . . . . LEAVE: System.IO.TextWriter:WriteLine ()
 . . . LEAVE: System.IO.TextWriter:WriteLine (string)
 . . . ENTER: System.Threading.Monitor:Exit
(object)([System.IO.SynchronizedWriter:0x7f1b70e44f88], )
 . . . . ENTER: (wrapper managed-to-native)
System.Threading.Monitor:Monitor_exit
(object)([System.IO.SynchronizedWriter:0x7f1b70e44f88], )
 . . . . LEAVE: (wrapper managed-to-native)
System.Threading.Monitor:Monitor_exit (object)
 . . . LEAVE: System.Threading.Monitor:Exit (object)
 . . LEAVE: System.IO.SynchronizedWriter:WriteLine (string)
 . LEAVE: System.Console:WriteLine (string)
<loooong snip>
dir / exists


That is, the string is written much later in the output than when
Console.WriteLine is called because it may be asynchronous. My point is that
with this --trace4humans, it should be synchronous.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list