VMware Communities
Dosihris
Contributor
Contributor

Error while debugging on Win XP VM

Hey Guys,

I use VM Ware Workstation 11.1 on my windows 7 64 host. My guest is a win XP. I also use Visual Studio 2013. I need to debug an assembly on the xp guest. In VS VM-Ware options i set the xp machine, path to the remote debug monitor on my windows 7 host and a guest command : "\\vmware-host\shared folders\test\main.exe". In VS i select "start debugging in virtual machine".

Following error occured:

The Remote Debug Monitor failed to start. A program could not run on the guest operating system.

What am i doing wrong? Here's the log

25.03.2015 14:50:13: Debugging started...

25.03.2015 14:50:13: ERROR: *ppVCProj

25.03.2015 14:50:13: An error occurred in .\utils.cpp at line 2889. Error code is 0x80004005.

25.03.2015 14:50:13: An error has occurred in the application. For more information please see the log file.  Its path is listed in the About box.

25.03.2015 14:50:13: ERROR: GetVCInterfaces(m_targetProject, (void **)&m_pVCDbgSettings, (void **)&pVCCfg, (void **)&pVCProj)

25.03.2015 14:50:13: An error occurred in .\Connect.cpp at line 7559. Error code is 0x80004005.

25.03.2015 14:50:13: An error has occurred in the application. For more information please see the log file.  Its path is listed in the About box.

25.03.2015 14:50:13: Starting the virtual machine.

25.03.2015 14:50:13: ERROR: pCtrls->get_Item(CComVariant(item), &pCtrl)

25.03.2015 14:50:13: An error occurred in .\Connect.cpp at line 7788. Error code is 0x80070057.

25.03.2015 14:50:13: An error has occurred in the application. For more information please see the log file.  Its path is listed in the About box.

25.03.2015 14:50:13: ERROR: pCtrls->get_Item(CComVariant(item), &pCtrl)

25.03.2015 14:50:13: An error occurred in .\Connect.cpp at line 7788. Error code is 0x80070057.

25.03.2015 14:50:13: An error has occurred in the application. For more information please see the log file.  Its path is listed in the About box.

25.03.2015 14:50:13: ERROR: pControls->get_Item(CComVariant(itemName), &pCtrl)

25.03.2015 14:50:13: An error occurred in .\Connect.cpp at line 8782. Error code is 0x80070057.

25.03.2015 14:50:13: An error has occurred in the application. For more information please see the log file.  Its path is listed in the About box.

25.03.2015 14:50:13: ERROR: pControls->get_Item(CComVariant(itemName), &pCtrl)

25.03.2015 14:50:13: An error occurred in .\Connect.cpp at line 8782. Error code is 0x80070057.

25.03.2015 14:50:13: An error has occurred in the application. For more information please see the log file.  Its path is listed in the About box.

25.03.2015 14:50:13: ERROR: pControls->get_Item(CComVariant(itemName), &pCtrl)

25.03.2015 14:50:13: An error occurred in .\Connect.cpp at line 8782. Error code is 0x80070057.

25.03.2015 14:50:13: An error has occurred in the application. For more information please see the log file.  Its path is listed in the About box.

25.03.2015 14:50:13: ERROR: pCtrls->get_Item(CComVariant(item), &pCtrl)

25.03.2015 14:50:13: An error occurred in .\Connect.cpp at line 7788. Error code is 0x80070057.

25.03.2015 14:50:13: An error has occurred in the application. For more information please see the log file.  Its path is listed in the About box.

25.03.2015 14:50:13: Waiting for VMware Tools to start...

25.03.2015 14:50:13: VMware Tools has started.

25.03.2015 14:50:13: Waiting for login to complete...

25.03.2015 14:50:13: Login succeeded.

25.03.2015 14:50:13: Checking for running Remote Debug Monitor in the virtual machine.

25.03.2015 14:50:13: Sharing Remote Debug Monitor directory:

25.03.2015 14:50:13:   C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Remote Debugger\x86\ as .RemoteDebugMonitor5132

25.03.2015 14:50:13: Enabling shared folders succeeded

25.03.2015 14:50:14: Adding share folder succeeded.

25.03.2015 14:50:14: Starting the Remote Debug Monitor: \\vmware-host\Shared Folders\.RemoteDebugMonitor5132\msvsmon.exe /nowowwarn /port 4015

25.03.2015 14:50:16: VMware: The Remote Debug Monitor failed to start. A program could not run on the guest operating system.

25.03.2015 14:50:16: ERROR: RunMonitor(process->m_vm->m_handle, pConnect->m_hVixHost, pConnect->m_hVSWindow, pMonitorPathItem->GetValue(), pMonitorNameItem->GetValue(), guestName, process->m_monitorShare, process->m_monitorProcId)

25.03.2015 14:50:16: An error occurred in .\Connect.cpp at line 4703. Error code is 0x80004005.

25.03.2015 14:50:16: An error has occurred in the application. For more information please see the log file.  Its path is listed in the About box.

25.03.2015 14:50:16: VMware: Debugging Failed.

25.03.2015 14:50:16: ERROR: StopMonitor(process->m_vm->m_handle, process->m_monitorProcId)

25.03.2015 14:50:16: An error occurred in .\Connect.cpp at line 5158. Error code is 0x1.

25.03.2015 14:50:16: Removing Remote Debug Monitor share: .RemoteDebugMonitor5132.

25.03.2015 14:50:17: Removing share folder succeeded

Tags (2)
0 Kudos
0 Replies