Page 1 of 1

Configuring the C# Standalone Debugger

Posted: Tue Apr 07, 2009 2:21 am
by jussij
It is fairly easy to run the C# debugger from within Zeus.

Open a C# file and use the Tools, Options menu to bring up the Tools panel of the C# document type.

In the Tools panel define the following tool:
  • Menu Text: MS Debugger '$fb.exe'
    Program Name: "$MsDbgClrPath$MsDbgClr"
    Arguments: /mditabs $fb.exe
    Work Directory: $fdd
NOTE: The "$MsDbgClrPath$MsDbgClr" is a Zeus macro tag and it will expand to something like this:

Code: Select all

"c:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\GuiDebug\DbgCLR.exe"
To make sure this folder and file exists use the Zeus DOS Command Line option found in the Tools menu and run this command:

Code: Select all

dir "$MsDbgClrPath$MsDbgClr"
Now assuming the C# executable was created using the these instructions:

http://www.zeusedit.com/forum/viewtopic.php?t=1235

The C# executable can now be debugged using the tool menu created above. Just open the main C# file, run the tool from the menu to bring up the debugger and hit F10 to start the debugging process.