Retrieve identifier names for debugging.
This commit is contained in:
@@ -58,7 +58,7 @@ namespace Cryville.Common.Pdt {
|
||||
etor.PushVariable(Name);
|
||||
}
|
||||
public override string ToString() {
|
||||
return string.Format("pushv {0}", Name);
|
||||
return string.Format("pushv {0}", IdentifierManager.SharedInstance.Retrieve(Name));
|
||||
}
|
||||
}
|
||||
public class Operate : PdtInstruction {
|
||||
@@ -84,7 +84,7 @@ namespace Cryville.Common.Pdt {
|
||||
etor.Collapse(Name, Target);
|
||||
}
|
||||
public override string ToString() {
|
||||
return string.Format("col {0}{{{1}}}", Name, Target.Value);
|
||||
return string.Format("col {0}{{{1}}}", IdentifierManager.SharedInstance.Retrieve(Name), Target.Value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -115,7 +115,7 @@ namespace Cryville.Common.Pdt {
|
||||
return _hash;
|
||||
}
|
||||
public override string ToString() {
|
||||
return string.Format("{0}({1})", Name, ParamCount);
|
||||
return string.Format("{0}({1})", IdentifierManager.SharedInstance.Retrieve(Name), ParamCount);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user