Skip to main content

Debugging a Remote Process

Here I would like to share some information on how to debug a remote process running on a different machine.

For example take below scenario:

1. We don’t have VS.Net framework installed on a machine/vm, let’s say machine–1.

2. We have VS.Net installed on your production machine. Let us say machine- 2.

3. Able to access machine -1 from machine-2.

4. We have to attach and debug a remote ‘.exe’ process running on machine-1 then, copy “Debugger” folder [C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Packages ] from machine-2 to machine-1.

Open command prompt and go to ‘Debugger’ folder on machine-1 and run below command

msvcmon -tcpip -timeout -1 -anyuser


machine-1 will now be in listening mode for connections. Now, go to machine-2.

Launch VS.net and choose ‘Debug Process’ from ‘Tools’ menu.

Choose, ‘TCP/IP’ from ‘Transport’ drop down list.

And mention the ‘hostname’ or ‘IP Address’ of machine-1 in the ‘Name’ field.

Refresh the process list by selecting ‘show system process’, we can now start your remote debugging. We can also point the 'PDB' file location.

Thats all.....

Reference:

Comments

Popular posts from this blog

Visit to Acharya Nagarjuna Baalura Aavasam..

Acharya Nagrajuna Baalura Aavasam, a place where 28 children are going through the moulding stages of their career and future. Let me give introduction to this balura aavasam. This place is located in marriguda mandal, Nalgonda district. It is approximately 60 km away from Hyderabad and takes around two hours journey on bus route. This balura aavasam is currently managed by “Grama Bharathi” committee of that mandal. It is spread over approximately 20 acres where 18 acres is under the development and cultivation of fruit trees and the remaining 2 acres have hostel building, play ground and kitchen. These 20 acres land was donated by a ‘Sarpanch’ of the mandal in mid 90’ for running development activities. Since that time a group of active people belonging to marriguda formed a committee and started contributing their best to serve the poor/needy in different ways. Nagarjuna balura aavasam was started by the same committee in 2007 with two children. Now the strength of the aavasam reache

Are you in search of Happiness?

Here is my first blog You, me and everyone in this world has to go through following states of mind: Happiness and Unhappiness. Let me start with defining Happiness...hmm ok no, first lets know the meaning of happiness by what others already defined it. A well known dictionary meant Happiness as a state of well-being and contentment a pleasurable or satisfying experience Mahatma said Happiness is when what you think, what you say and what you do are in harmony. fundoo definitions... aren't they? I have a question here, where does happiness come from? Not sure? I would say happiness come from the results of how we perceive things in our life? you want an example ? Take me as an example, I will feel happy when some one agrees with me else not :) Dont you agree if you get what you desired then you will be happy else you get distressed.. Start digging through your thought processes to find the difference between Happiness and Unhappiness each of you would ultimately end up in knowi

Are you on 'cloud'9 ??

It was just a few years, the current tech buzzing word 'CLOUD' blossomed. Larry Ellison, CEO Oracle, said computing industry is the only industry that is more fashion-driven. Even Apple, Inc - not often a follower of industry fashion got into the act. So, does that mean computing industry is seriously on a 'paradigm-shift'? There are also technologists who argue that cloud computing is essentially an old wine in a new bottle and the big companies are fueling the hype. As a player in this technology world; are we aware of the present 'cloud computing' trend and its importance? If your answer is NO..... then here is my blog which I hope would give you some understanding on 'cloud computing' and also the value it brings in. Let me put my blog as simple as possible. As I said in my previous blog, 'Experience is the only lesson to learn something in your life'; I learned many good points when interacting with people around me. Here is one poin