# Visual Debugger Connection

**URL:** <https://forums.developer.nvidia.com/t/visual-debugger-connection/31281>\
**Category:** Other Tools\
**Created:** [November 3, 2013, 7:11pm UTC](https://forums.developer.nvidia.com/t/visual-debugger-connection/31281 "2013-11-03T19:11:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dropye](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Dropye](https://forums.developer.nvidia.com/u/Dropye)\
**Post date:** [November 3, 2013, 7:11pm UTC](https://forums.developer.nvidia.com/t/visual-debugger-connection/31281/1 "2013-11-03T19:11:39Z")

</div>

Hey there,

I wanted to use the Visual Debugger for checking the PhysX Part of my Application.  
I followed the Guide which is Shipped with PhysX 3.2.1

I added this function to my code

```auto
void CPhysic::ConnectToPVD()
{
	if(gPhysicsSDK->getPvdConnectionManager() == NULL)
		return;

	const char* pvd_host = "127.0.0.1";
	int port = 5425;
	unsigned int timeout = 100;

	PxVisualDebuggerConnectionFlags connectionFlags = PxVisualDebuggerExt::getAllConnectionFlags();

	theConnection = PxVisualDebuggerExt::createConnection(gPhysicsSDK->getPvdConnectionManager(), pvd_host, port, timeout, connectionFlags);
}

```

But getPvdConnectionManager() returns NULL and so no connection could work.

How I can “activate” support for Visual Debugger on Win7 64bit with Vs 2010 Express Debug Mode

-Dropye

---

<div class="post-metadata">

**Author:** ![tonyoakden](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@tonyoakden](https://forums.developer.nvidia.com/u/tonyoakden)\
**Post date:** [November 19, 2013, 2:59am UTC](https://forums.developer.nvidia.com/t/visual-debugger-connection/31281/2 "2013-11-19T02:59:38Z")

</div>

I also have this problem. I’m using PhysX3.2.4 and VS2012.

---

<div class="post-metadata">

**Author:** ![hiero2021](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@hiero2021](https://forums.developer.nvidia.com/u/hiero2021)\
**Post date:** [April 16, 2014, 9:43pm UTC](https://forums.developer.nvidia.com/t/visual-debugger-connection/31281/3 "2014-04-16T21:43:46Z")

</div>

Same here - with PhysX 3.3.1 and VS2012.

When starting PVD, I get some error messages: “The system cannot find the file specified. (Exception from HRESULT: 0x80070002) - Failed to start pvd console”. Maybe that’s the reason?

Does there happen to be a solution already?
