[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 326
  • Last Modified:

I need remote debugging

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.

Thanks,
newbieweb
0
newbieweb
Asked:
newbieweb
1 Solution
 
elimesikaCommented:
HI

Follow this step-by-step MS manual
http://msdn.microsoft.com/en-us/library/bt727f1t.aspx

You can obfuscate the program , the binary code will do exactly the same as in unobfuscate version.
0
 
magicdlfCommented:
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!
VSRemoteSnap1.JPG
VSRemoteSnap2.JPG
0
 
Miguel OzSoftware EngineerCommented:
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:
http://support.microsoft.com/kb/815788

ELSE, you need to compile program with no obfuscation and  attach the debugger remotely as per the first post.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
newbiewebAuthor Commented:
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?
0
 
magicdlfCommented:
Try this:http://www.safe-install.com/programs/net-obfuscator-dotfuscator.html
* 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!
0
 
newbiewebAuthor Commented:
thanks.
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now