Programming Howto:Programmatically wait for the Debugger in a BCI2000 Module
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.