Modified the order of the parameter for vlnStackTrace.ShowStackLocal so that the parameter "signature" would be unique when specifying the start and limit.

This commit is contained in:
Rich 2015-03-27 12:26:04 +00:00
parent 8e2da3f040
commit 4d2b57b34a

View File

@ -82,9 +82,9 @@ namespace Volian.Base.Library
{
Console.WriteLine(str + "\r\n" + StackToStringLocal(start,1));
}
public static void ShowStackLocal(string str,int start, int limit)
public static void ShowStackLocal(int start, int limit, string str, params object[] objects)
{
Console.WriteLine(str + "\r\n" + StackToStringLocal(start, limit));
Console.WriteLine(string.Format(str, objects) + StackToStringLocal(start, limit));
}
public static string StackToStringLocal(int start, int limit)
{