?
Solved

How to debug EXE outside of project?

Posted on 2007-04-04
3
Medium Priority
?
2,395 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 2000 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

Stack Overflow Podcast - Developer Story

Welcome to the Stack Overflow podcast recorded Thursday July 20 at Stack Overflow Headquearters in NYC. Your hosts today are podcast regulars Jay Hanlon, David Fullerton, and Ilana Yitzhaki, plus the quite irregular Matt Sherman (Stack Overflow Engineering Manager extraordinaire)

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

770 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