Solved

How to debug EXE outside of project?

Posted on 2007-04-04
3
2,392 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

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…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

726 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