Configuring the C# Standalone Debugger

Find Tips and tricks on how to better use the Zeus IDE. Feel free to post your own tips but please do not post bug reports, feature requests or questions here.
Post Reply
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Configuring the C# Standalone Debugger

Post 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.
Post Reply