How to debug .NET Code packed in .NET assembly (running as Seperate Software )

1k views Asked by At

I have a software ( PULSE Time Data Recorder ). Of course I don't have its code. But I can look into its code via .NET Reflector. I want to debug this code and to see how function calls are working in running application ( PULSE Time Data Recorder ). As soon as I click on to one of the function which is exposed at Software ( Like Connect or it automatically connects the device and pulls the data from it as soon as I run this software) , corresponding code which .NET Reflector displayed ...must be executed somehow...Might be I have to elaborated correctly..Please ask immediately if the scanario is not clear.

I want to build an independent software component in .NET , which will do the same what ( PULSE Time Data Recorder ) does plus extra functionality with new requirements. So, for building up such component I want to analyze the complete code functionality and method calls going inside software.

Edit

.NET Reflector provides the code by decompiling any assembly itself. Its not me who is going to develop code, my work place already bought license and adjusted terms...I am doing what I am asked to do.

2

There are 2 answers

2
Michael Stum On BEST ANSWER

Reflector VSPro will do that.

However, since you essentially want to steal their source code to build a similar product, I recommend consulting a lawyer ASAP.

3
Steve Konves On

To debug (step through) a .Net assembly, you need the assembly file and the .pdb file that was compiled with the assembly. If you don't have both you can still look through the original code (unless it was obfuscated) by using any reflector software (as was mentioned in other responses).

If you are absolutely sure you have legal rights to do so, you can copy the source code as visible in the reflector, recompile it, then step through that assembly.