VMware

This Question is Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
3 Replies Last post: Apr 25, 2009 9:49 AM by xjchen77  

Debugging a recording made *after* the application has started? posted: Apr 24, 2009 3:04 AM

Click to view hajokirchhoff's profile Novice 11 posts since
Feb 27, 2009

Hi all, hello VMWare Team,
thanks a lot for replay-based debugging. This is a really, really wonderful feature.

Here is the question:

Host: Vista x64 on an Intel i7 with 6GB RAM with nVidia Graphics. Visual Studio 2008.
Guest: Windows XP 512MB

My QA team is creating recordings for debugging manually, using VMWorkstation. There are two possible sequences to do so:

1. Start the recording then
2. Start the application

which means the 'CreateProcess' event is contained in the recording, or

1. Start the application then
2. Start the recording.

which means, the 'CreateProcess' event is not contained in the recording. The recording starts with my application already running.

I have not managed to make replay-debugging work with the second order of events. When I try to debug that recording, it will start playback with my application running, but the VMWare Debug Plugin never finds the process inside the recording.

Am I right in my assumption that the VMWare Debug Plugin looks for the starting of my application inside the recording? And so I cannot debug applications that have already started when the recording begins?

Or is there something I am missing?

My QA team wants to use this feature to report bugs. Moving around a couple of GB is pretty cumbersome and sometimes they would like to start recording only later, some time into their testing session, even if that might mean we're possibly missing the cause of a bug.

BTW, I watched your talk on Google Talk and someone from the audience suggested a trigger and pre-trigger recording, where the system would on a failed testcase created a recording of the last 'n' minutes leading up to the failure. I really can't wait to get my hands on this, it would be extremely helpful for us.

A little more on our setup. I am working with Windows almost exlusively, but we also have several linux guys. We write software with many custom protocols with external hardware connected via ethernet. We are also desiging the hardware. I am sure you can imagine how much help this would be to us, not just for debugging the software on the PC but for debugging our hardware as well.

Best regards

Hajo

Click to view ecl100's profile Enthusiast 48 posts since
Sep 24, 2007
Hi, Hajo. Thanks for the note. You are exactly right that currently it is required that process creation be a part of the recording, but eliminating this requirement is high on our priority list. And thank you for telling us how you use and would like to use replay debugging. This is very helpful to us. E.
Click to view xjchen77's profile Novice 5 posts since
Aug 19, 2008

Hi Hajo,

We are working on Remote replay based debugging. With that developers could debug recordings on QA's machines. QA just needs to have Workstation installed, not Visual Studio. Thanks for the excellent feedback.

Eric

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