Skip navigation
VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
529 Views 16 Replies Last post: Jan 28, 2011 11:55 AM by InvaderZim RSS
1 2 Previous Next
buddylott Novice 15 posts since
Aug 7, 2009
Currently Being Moderated

Sep 9, 2009 7:58 PM

VMDebugger vs VS2008

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,

 

 

grossag Expert VMware Employees 423 posts since
Jul 3, 2006
Currently Being Moderated
1. Nov 2, 2009 8:46 PM in response to: buddylott
Re: VMDebugger vs VS2008

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.

grossag Expert VMware Employees 423 posts since
Jul 3, 2006
Currently Being Moderated
3. Nov 3, 2009 7:54 AM in response to: buddylott
Re: VMDebugger vs VS2008

 

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.

 

 

dmitrygr Novice 15 posts since
Jul 29, 2008
Currently Being Moderated
5. Nov 3, 2009 9:56 AM in response to: buddylott
Re: VMDebugger vs VS2008

Pretty sure vmdebugger does not support .net, only native debugging

dmitrygr Novice 15 posts since
Jul 29, 2008
Currently Being Moderated
7. Nov 3, 2009 10:14 AM in response to: buddylott
Re: VMDebugger vs VS2008

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

grossag Expert VMware Employees 423 posts since
Jul 3, 2006
Currently Being Moderated
8. Nov 3, 2009 10:13 AM in response to: buddylott
Re: VMDebugger vs VS2008

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.

grossag Expert VMware Employees 423 posts since
Jul 3, 2006
Currently Being Moderated
10. Nov 3, 2009 12:05 PM in response to: buddylott
Re: VMDebugger vs VS2008

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?

grossag Expert VMware Employees 423 posts since
Jul 3, 2006
Currently Being Moderated
12. Nov 3, 2009 12:59 PM in response to: buddylott
Re: VMDebugger vs VS2008

Ok, great, thanks.  I have sent this thread to the engineer who works on the VMDebugger now and he will take a look.

martinmoesby Lurker 1 posts since
Nov 30, 2009
Currently Being Moderated
13. Nov 30, 2009 3:30 AM in response to: grossag
Re: VMDebugger vs VS2008

Hi,

 

I've been following this thread with great interest, and I seem to have found a possible answer.

 

I too, have this problem, and I have narrowed it down to the fact, that the solution contains setup-projects.

When removing the setup project(s), the WMDebugger runs as expected.

If the setup projects are included in the solution, the beformentioned error occors.

 

Hope this helps.

 

Regards,

 

Martin Moesby

Toolpack Solutions

Bookmarked By (0)

Share This Page

Communities