Solved

How to debug EXE outside of project?

Posted on 2007-04-04
3
2,381 Views
Last Modified: 2013-11-26
I have an EXE with an associated PDB file.  Is there a way to point VS.NET 2005 to these files so I can debug the app?  There isn't any project.  Just the two files.
0
Comment
Question by:brettr
3 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 500 total points
ID: 18855714
PDB file is not enough, it is necessary to have source code. Having PDB file without source code you can see only Assembly code.
To start debugging running executable, use Attach to Process Visual Studio command.

Assuming that this is legal, you can use Reflector http://www.aisto.com/roeder/dotnet/ to create source code from .NET executable. AFAIK, there is some Reflector enhancement which allows to create all source code at once from executable.
0
 

Author Comment

by:brettr
ID: 18855832
Ok, thanks.  I don't want to get that involved with it.  I obsfucated an EXE with .NET Reactor and now it crashes before any GUI loads. I do actually have the project but I don't think .NET Reactor uses it.  I wanted to check to see why the EXE crashes but I'll never know because there isn't any process to attach to.  I have it set to obsfucate minimually an not embed DLLs.  I don't want to get all wrapped up in it so I'll probably just try the community edition of Dotfuscator.

I mainly wanted to use .NET Reactor because it keeps people from decompiling your code.  Do you recommend any obsfuscators?
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
call a controller action method from Global.asax in asp.net 1 28
IEnumerable<T> to a List<T> 8 51
WPF Select Items 3 24
SSIS GUID Variable 2 30
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

685 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