VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
12 Replies Last post: Nov 3, 2009 12:59 PM by grossag  

VMDebugger vs VS2008 posted: Sep 9, 2009 7:58 PM

Click to view buddylott's profile Novice 10 posts since
Aug 7, 2009
I am hitting a problem with debugging a program running in a VM, I am using Visual Studio 2008, VMWare Workstation 6.5.3 build-185404, Vista Ultimate 64 bit, and VMDebugger 1.5.

I have a VS solution that has multiple target executables (all written in C#). When I select VMware->Options, i get a dialog box that says "Unable to detect the current startup project".

A different VS C# Solution with only 1 target exectuable, seems to work fine.

I have seen this problem posted before, but I haven't see a solution posted. Is there one?

Thanks,

Re: VMDebugger vs VS2008

1. Nov 2, 2009 8:46 PM in response to: buddylott
Click to view grossag's profile Hot Shot 229 posts since
Jul 3, 2006
I don't believe so. In all of these cases it has been very difficult to find a reproducible case. Can you give us very specific information about your solution layout and projects? The more specific info you give us, the better chance we have of fixing it. Thanks for the help.

Re: VMDebugger vs VS2008

3. Nov 3, 2009 7:54 AM in response to: buddylott
Click to view grossag's profile Hot Shot 229 posts since
Jul 3, 2006

Mostly, I'm looking for folder structure like what you see in the Solution Explorer and whether there are any nested projects or solutions. If not, a quick map would be nice, like:

30 C# dll projects in a row

1 C# exe project

15 C# dll projects in a row

Does that make sense? Thanks for the help.

Re: VMDebugger vs VS2008

5. Nov 3, 2009 9:56 AM in response to: buddylott
Click to view dmitrygr's profile Novice 15 posts since
Jul 29, 2008
Pretty sure vmdebugger does not support .net, only native debugging

Re: VMDebugger vs VS2008

7. Nov 3, 2009 10:14 AM in response to: buddylott
Click to view dmitrygr's profile Novice 15 posts since
Jul 29, 2008
Just checked. You're right. Remote debugging supports everything, Replay supports only native.


Startup project error seems to indicate that our startup project detection code is not meshing well with your solution. Any chance I can get a copy of the solution? (i need the source files, but not their contents, so you can send empty ones with the right names)

My email: dmitryg@vmware.com

Re: VMDebugger vs VS2008

8. Nov 3, 2009 10:13 AM in response to: buddylott
Click to view grossag's profile Hot Shot 229 posts since
Jul 3, 2006
No, I'm pretty sure that the Live (aka remote) Debugging section works with C#. It's just replay debugging that doesn't work with C#. I don't 100% remember, but the blog post I wrote a while ago when I did remember ( http://blogs.vmware.com/workstation/2008/04/using-the-vmwar.html ) seems to indicate C# is supported.

That said, it definitely could be an issue that you have multiple startup projects. Earlier you had said you had multiple target executables, but I didn't know that multiple were set as the startup projects. I'm pretty sure that we only support 1 startup project, but I'm not sure what the behavior is when you have more than 1 (e.g. failure, or just using the first one in the list). Try just going to 1 startup project and see if that means that you can debug. But I agree that the error message should be better.

Re: VMDebugger vs VS2008

10. Nov 3, 2009 12:05 PM in response to: buddylott
Click to view grossag's profile Hot Shot 229 posts since
Jul 3, 2006
Ok, sorry, just to clarify, you had said "It only seems to work if/when there is only one possible startup project." What did you mean by this? Either a project is or isn't a startup project, so can you clarify what you meant by "possible" startup projects?

Re: VMDebugger vs VS2008

12. Nov 3, 2009 12:59 PM in response to: buddylott
Click to view grossag's profile Hot Shot 229 posts since
Jul 3, 2006
Ok, great, thanks. I have sent this thread to the engineer who works on the VMDebugger now and he will take a look.

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities