|
3 | 3 | Acquisition System](https://open-ephys.github.io/onix-docs).
|
4 | 4 |
|
5 | 5 | - Open Ephys store: https://open-ephys.org/onix
|
6 |
| -- Library documentation: https://open-ephys.github.io/onix1-bonsai-docs |
| 6 | +- Library documentation: https://open-ephys.github.io/bonsai-onix1-docs |
7 | 7 | - Hardware documentation: https://open-ephys.github.io/onix-docs
|
8 | 8 |
|
9 |
| -### Run in visual studio |
| 9 | +### Run in Visual Studio 2022 |
10 | 10 | 1. Double click the `Setup.cmd` file in the `.bonsai` folder. This will install a
|
11 | 11 | portable version of Bonsai in the folder along with its required packages.
|
12 | 12 | 1. Open `OpenEphys.Onix1.sln` in Visual Studio (Community Edition is fine).
|
13 | 13 | 1. Select which project to compile and run Bonsai against.
|
14 |
| - - `OpenEphys.Onix1`: core library |
| 14 | + - `OpenEphys.Onix1`: core library (No GUI elements will be loaded) |
15 | 15 | - `OpenEphys.Onix1.Design`: core library and GUI elements
|
16 | 16 | 1. Press the Play button to
|
17 | 17 | - Compile the library selected in step 3
|
18 | 18 | - Run the Bonsai application installed in step 1
|
19 | 19 | - Instruct Bonsai to load the compiled library
|
20 | 20 |
|
21 |
| -<img alt="Select which library to compile" src="./.bonsai/build-and-run.png" width="60%" /> |
| 21 | +<img alt="Select which library to compile" src="./images/build-and-run.png" width="60%" /> |
| 22 | + |
| 23 | +### Enable debugging |
| 24 | + |
| 25 | +#### Enable child process debugging |
| 26 | +1. Download and install [Microsoft Child Process Debugging Power Tool 2022](https://marketplace.visualstudio.com/items?itemName=vsdbgplat.MicrosoftChildProcessDebuggingPowerTool2022). |
| 27 | +1. Navigate to child process debugging settings. |
| 28 | +1. Check `Enable child process debugging`. |
| 29 | +1. Click <kbd>Save</kbd>. |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | +#### Enable native code debugging |
| 34 | +1. Navigate to debug properties. |
| 35 | +1. Check `Enable native code debugging`. |
| 36 | + |
| 37 | + |
| 38 | + |
0 commit comments