Merrion Level: VB Guru Registered: 15-04-2002 Posts: 37
[IDE] How to know when VB hits a breakpoint... Archived to Disk
We're working on a playback add-in that allows the developer (in IDE) to shadow the operations of the user (in compiled Exe) over the LAN for tracking down those "cannot recreate" type issues.
However, I need a way of knowing when the VB IDE hits a breakpoint so that I may freeze the compiled executable with SuspendThread and then resume it again when the breakpoint is cleared.
At present the executable just carries on regardless and then IDE and compiled exe get out of sync.
JLRodgers Level: Moderator Registered: 04-04-2002 Posts: 1617
Re: [IDE] How to know when VB hits a breakpoint... Archived to Disk
Unfortunetely, I can't help you with your problem. Interesting approach though.
Ever think of just logging all menu clicks, form loads, button presses to the event log, text file or DB? I found that to be a lot easier to do, while you don't have real-time, you still find everything the user does.