Closed bezzad closed 9 years ago
In issue #29 written how to replace Exception StackTrace by new StackTrace
This issue solved, but not to XML format, so far the xml format have more data and in this state be to overflow the StackTrace size limitation at database, because that is 4000 char length and not more.
in new system stack trace context saved this model:
-> N{TestStackTrace}.C{Form1}.M{button2_Click(Object sender, EventArgs e)} @{d:\Programming\temp\TestStackTrace\TestStackTrace\Form1.cs}:{Line:66,Column:13}
-> N{System.Windows.Forms}.C{Control}.M{OnClick(EventArgs e)}
-> N{System.Windows.Forms}.C{Button}.M{OnClick(EventArgs e)}
-> N{System.Windows.Forms}.C{Button}.M{OnMouseUp(MouseEventArgs mevent)}
-> N{System.Windows.Forms}.C{Control}.M{WmMouseUp(Message& m, MouseButtons button, Int32 clicks)}
-> N{System.Windows.Forms}.C{Control}.M{WndProc(Message& m)}
-> N{System.Windows.Forms}.C{ButtonBase}.M{WndProc(Message& m)}
-> N{System.Windows.Forms}.C{Button}.M{WndProc(Message& m)}
-> N{System.Windows.Forms}.C{ControlNativeWindow}.M{OnMessage(Message& m)}
-> N{System.Windows.Forms}.C{ControlNativeWindow}.M{WndProc(Message& m)}
-> N{System.Windows.Forms}.C{NativeWindow}.M{Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)}
-> N{System.Windows.Forms}.C{UnsafeNativeMethods}.M{DispatchMessageW(MSG& msg)}
-> N{System.Windows.Forms}.C{ComponentManager}.M{System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)}
-> N{System.Windows.Forms}.C{ThreadContext}.M{RunMessageLoopInner(Int32 reason, ApplicationContext context)}
-> N{System.Windows.Forms}.C{ThreadContext}.M{RunMessageLoop(Int32 reason, ApplicationContext context)}
-> N{System.Windows.Forms}.C{Application}.M{Run(Form mainForm)}
-> N{TestStackTrace}.C{Program}.M{Main()} @{d:\Programming\temp\TestStackTrace\TestStackTrace\Program.cs}:{Line:33,Column:13}
-> N{System}.C{AppDomain}.M{_nExecuteAssembly(RuntimeAssembly assembly, String[] args)}
I want convert StackTrace frames to a XML format and then use that in analyzer to fetch frame Namespace , Class , Method , FilePath , LineNo._ , ColumnNo. . For example this stack trace will be converted to xml:
StackTrace context:
XML context: