[Mono-bugs] [Bug 390150] New: Exception. ToString slight mis-format inner exception stack-traces
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed May 14 05:44:41 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=390150
Summary: Exception.ToString slight mis-format inner exception
stack-traces
Product: Mono: Class Libraries
Version: 1.9.0
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: CORLIB
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: andyhume32 at yahoo.co.uk
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Created an attachment (id=215059)
--> (https://bugzilla.novell.com/attachment.cgi?id=215059)
Repro
With ToString with inner exceptions the separator between the multiple
stack-traces appears at the wrong position, e.g.
[[
AaaaException: msg --> BbbbException: msg
at c.m
at c.m -- separator --
at c.m
at c.m
]]
The separator should of course be where the blank line is. It cause me a
little bit of confusion each time I see the blank line.
Repro app attached, output:
[[
* MSFT
System.DivideByZeroException: Dddd dddd. ---> System.ArgumentException: Aaaa
aaa.
at InnerExceptionsToString.ThrowsInnerExceptionAaaa0000()
at InnerExceptionsToString.ThrowsInnerExceptionAaaa()
at InnerExceptionsToString.ThrowsInnerException0000()
--- End of inner exception stack trace ---
at InnerExceptionsToString.ThrowsInnerException0000()
at InnerExceptionsToString.ThrowsInnerException()
at InnerExceptionsToString.Catcher0000()
* Mono (1.9, SVN)
System.DivideByZeroException: Dddd dddd. ---> System.ArgumentException: Aaaa
aaa.
at InnerExceptionsToString.ThrowsInnerExceptionAaaa0000 () [0x00000]
at InnerExceptionsToString.ThrowsInnerExceptionAaaa () [0x00000]
at InnerExceptionsToString.ThrowsInnerException0000 () [0x00000] --- End of
inner exception stack trace ---
at InnerExceptionsToString.ThrowsInnerException0000 () [0x00000]
at InnerExceptionsToString.ThrowsInnerException () [0x00000]
at InnerExceptionsToString.Catcher0000 () [0x00000]
]]
--
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