Questions tagged [attach-to-process]

61 questions
1
vote
1 answer

Visual Studio Attach to Process IE COM Plugin

I have ActiveX COM Plugin for Internet Explorer. I want to "Attach to Process" to this plugin and debug it. I tried to attach to iexplorer.exe process but Visual Studio did not enter the breakpoint. What is my fault? Which process hosts this COM…
1
vote
0 answers

Unable to connect to Microsoft Visual Studio Remote Debugging Monitor

I want to attach to procces from visual studio 2010 to windows server 2003 on virtual machine, name and password are the same. On the virtual machine I have Remote Debugging Monitor version 10.0.30319.1 When I try to attach to the process it gives…
Alex
  • 8,908
  • 28
  • 103
  • 157
0
votes
1 answer

How do you view error details while debugging a VB6 application in Visual Studio 2010?

I'm trying to debug a legacy VB6/ASP/COM+ application using Visual Studio 2010. The COM+ DLL has been compiled with full debug information and has the corressponding .PDB files. I attach to the dllhost process of the COM+ component and during…
John Mills
  • 10,020
  • 12
  • 74
  • 121
0
votes
2 answers

Disable attach to process

I am looking for a way to check and see if someone attached to a program/process I start. I want to make it harder to reverse engineer my program by disabling attach to process. Is this do able? is there some API call that will look to see if…
Dennis Hayden
  • 184
  • 1
  • 5
  • 15
0
votes
0 answers

DLL object debugging

I have a huge codebase that consists of many modules and one of these modules are using another one as a dll object. Now I want to debug this dll object but i don't know the other module that is using it. Can I do something like the attaching to…
Antoun
  • 135
  • 7
0
votes
0 answers

Attach to a process on a remote PC

This is a follow-up question of this previous one. I have understood that the easiest way to attach to a remote process, is by adding "IP_Address:Port" into the "Connection target" textbox. At first, this gives me an error message, mentioning that…
Dominique
  • 16,450
  • 15
  • 56
  • 112
0
votes
0 answers

Remote debugging failed

While trying to perform remote debugging, I fell into the following error message: --------------------------- Microsoft Visual Studio --------------------------- Unable to connect to the Microsoft Visual Studio Remote Debugger named…
Dominique
  • 16,450
  • 15
  • 56
  • 112
0
votes
1 answer

Explanation of attach to process in PyCharm?

What is going on in the background in PyCharm whenever you run these PyCharm instructions to "attach to a local process", that makes it possible to then set breakpoints and debug. (A Chalice/Flask app lets say...)
Back2Basics
  • 7,406
  • 2
  • 32
  • 45
0
votes
1 answer

How to use 'Reattach To Process' in 'Post-build event command line' Visual Studio 2017?

How to use 'Reattach To Process' in 'Post-build event command line' VS2017? I'm working on 'visual studio 2017' 'solution', I want to 'Reattach To Process' immediately after build. I want to know how to use the command line for 'Reattach To…
CW park
  • 21
  • 3
0
votes
1 answer

vscode got error "timed out waiting for debug server to connect" when attaching to a running python process

We have a python app on Windows which we have packaged using pyinstaller. And now the scenario is, after running the built myapp.exe, we want to be able to attach to it and do some debugging using VS Code. This was originally working on our release…
tete
  • 4,859
  • 11
  • 50
  • 81
0
votes
2 answers

Attach to Process Error: A device attached to the system is not functioning

I am not sure what I did to get my "Attach to Process" feature of VS2019 to stop working. Last week it worked and now this week it doesn't. Steps to Produce Issue: Open VS2019 Debug -> Attach to Process Find w3wp.exe in the Available Processes…
drethedevjs
  • 404
  • 2
  • 4
  • 15
0
votes
1 answer

Do not have enough privilege on Visual Studio 2019 to attach w3p process on local system?

I was trying to attach w3p process to debug on Visual Studio 2019 as Admin User but I am getting error as you do not have enough privilege to attach to process. I checked my Local policies and I don't have rights on Debug Programs. Is there a way to…
0
votes
0 answers

Unable to attach to the process in Visual Studio 2003

I have a legacy WinForms Desktop app made in .NET 1.1 and Visual Studio 2003. This app consists on some executable files that are started in sequence using Process.Start method. Also to communicate each other it is used .NET Remoting. Now I am…
0
votes
1 answer

Set a breakpoint in an attached process that is not started yet - VS

I'm trying to debug an executable (.exe) using Visual-Studio (2019). I opened a new solution and added a command contains the path of my exe, as describes in here How do I attach Visual Studio to a process that is not started yet?. Because of I'm…
0
votes
1 answer

Can not debug with attach to process VS Pro 2017

I deployed my MVC project to IIS and now I need to debug code by attach process but it not work. These are steps that I did to debug: Run my solution with Visual Studio Pro 2017 as Admin Debug -> Attach to process... Attach w3wp.exe…