File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
dotnet/src/webdriver/BiDi/Modules/Script Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ public string FormatStackFrame()
2727 {
2828 return $ "({ LineNumber } ,{ ColumnNumber } ) { Url } ";
2929 }
30+
3031 return $ "{ FunctionName } ({ LineNumber } ,{ ColumnNumber } ) { Url } ";
3132 }
3233}
Original file line number Diff line number Diff line change @@ -33,10 +33,11 @@ public string FormatStackTrace(int indent)
3333 }
3434
3535 const string Preamble = "---> " ;
36- string firstLineIndentString = Environment . NewLine + new string ( ' ' , indent ) ;
37- string indentString = Environment . NewLine + new string ( ' ' , indent + Preamble . Length ) ;
3836
37+ string firstLineIndentString = Environment . NewLine + new string ( ' ' , indent ) ;
3938 string firstLine = firstLineIndentString + Preamble + CallFrames [ 0 ] . FormatStackFrame ( ) ;
39+
40+ string indentString = Environment . NewLine + new string ( ' ' , indent + Preamble . Length ) ;
4041 return firstLine + indentString + string . Join ( indentString , CallFrames . Skip ( 1 ) . Select ( frame => frame . FormatStackFrame ( ) ) ) ;
4142 }
4243}
You can’t perform that action at this time.
0 commit comments