Yes, thank you, Rod. You have understood the question.
When the
VB code "breaks", I need to see what the end-user sees on the application's screen. It seems that VS2010 does not support this.
Here is my workaround. Every second a Timer routine calls this routine to copy the screen to the clipboard, and then save it to disk:
Public Sub clip()
SendKeys.Send("{PRTSC}")
Dim grabpicture As System.Drawing.Image
grabpicture = My.Computer.Clipboard.GetImage()
grabpicture.Save("c:\clipboard.bmp")
End Sub
Then, after the "break", type this in the Immediate window to display the screen:
Process.Start("C:\clipboard.bmp")
Instead of the Timer routine, do you think it would be possible to write a VS2010 add-in which intercepted the breakpoint interrupt and ran the clip() subroutine before leaving the user's screen? It would then hand back to the usual break-point routine.
BTW, have now reached p. 265 (but am skipping WPF this time around).