mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
DllExporter: Improve support for debugging
This commit is contained in:
parent
ca0f2e608f
commit
05a9d9188d
@ -64,7 +64,12 @@ namespace DllExporter
|
|||||||
|
|
||||||
// Disassemble
|
// Disassemble
|
||||||
Process ildasmProc = new Process();
|
Process ildasmProc = new Process();
|
||||||
string ildasmArgs = string.Format("/nobar /output=\"{0}\" \"{1}\"", targetIlName, targetDllName);
|
string ildasmArgs = string.Format(
|
||||||
|
"/nobar {0} /output=\"{1}\" \"{2}\"",
|
||||||
|
isDebug ? "/linenum" : "",
|
||||||
|
targetIlName,
|
||||||
|
targetDllName);
|
||||||
|
|
||||||
ildasmProc.StartInfo = new ProcessStartInfo(ildasmPath, ildasmArgs);
|
ildasmProc.StartInfo = new ProcessStartInfo(ildasmPath, ildasmArgs);
|
||||||
ildasmProc.StartInfo.UseShellExecute = false;
|
ildasmProc.StartInfo.UseShellExecute = false;
|
||||||
ildasmProc.StartInfo.CreateNoWindow = false;
|
ildasmProc.StartInfo.CreateNoWindow = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user