I need remote debugging

Posted on 2009-12-19
Last Modified: 2013-12-17
I must deploy software to a PC exposed to the public. But I need to debug the processes since this is just a beta copy.

How do I use remote debugging? It's a WinForms C# 2.0 application.

Can I obfuscate the program which is on the public machine? I don't want to put it there any other way.

I use Visual Studio 2008.

Question by:newbieweb
    LVL 19

    Expert Comment


    Follow this step-by-step MS manual

    You can obfuscate the program , the binary code will do exactly the same as in unobfuscate version.
    LVL 9

    Expert Comment

    Follow the screenshot which I attached.

    If you have authentication issues, a good practise is that have an account on both the client and your dev machine, which has the same user name and password and has administrator priviledges.  If still not working, post the error message you got here. Good luck!
    LVL 35

    Expert Comment

    by:Miguel Oz
    No, you can not obfuscate the program if you need to do remote debugging.

    If you need obfuscation, one alternative is to trace or log all required information including exception to a log file.
    See Trace:

    ELSE, you need to compile program with no obfuscation and  attach the debugger remotely as per the first post.

    Author Comment

    If I can not obfuscate the EXE, then I am pretty exposed, since .NET Framework executable include all the source code.

    Doesn't a maker of Obfuscation software also offer remote debugging of an Obfuscated executable?
    LVL 9

    Accepted Solution

    Try this:
    * Debugging support, including stack trace decoding.

    I didnt try it myself. But I know our company use this tool to obfuscate the key components. I don't think it will block debugging. Good luck!

    Author Closing Comment


    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
    For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK ( for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now