Difference between revisions of "Programming Howto:Programmatically wait for the Debugger in a BCI2000 Module"
|Line 36:||Line 36:|
As a next step, learn how to [[Programming Howto:Deploy a Release version of a BCI2000
As a next step, learn how to [[Programming Howto:Deploy a Release version of a BCI2000 |deploy a release version of a BCI2000 module]].
Revision as of 13:46, 16 August 2018
In the VeryNiceFilter constructor, add a line with a SuggestDebugging statement, and rebuild
Double-click the VeryNiceSignalProcessing batch file you created earlier
A SuggestDebugging dialog box will pop up, and stay in the front -- you may move it out of the way, but otherwise leave it alone
In the VisualStudio IDE, choose "Attach to Process..." from the "Debug" menu
Select the "Very Nice Signal Processing" process, click "Attach", and finally dismiss the SuggestDebugging dialog box by clicking "yes"
In the call stack, your own code will appear some frames below the top
Double-clicking your own code's frame will take you to the location of the SuggestDebugging statement
You may now set a breakpoint and choose "Continue" from the "Debug" menu
As before, the debugger will stop when the breakpoint is hit
As a next step, learn how to deploy a release version of a BCI2000 module.