diff --git a/Directory.Build.props b/Directory.Build.props index 6266d68..649c1fc 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -3,11 +3,11 @@ Open Ephys Copyright © Open Ephys and Contributors 2024 - https://open-ephys.github.io/onix1-bonsai-docs + https://open-ephys.github.io/bonsai-onix1-docs true snupkg true - https://github.com/open-ephys/onix-bonsai-onix1 + https://github.com/open-ephys/bonsai-onix1 git README.md LICENSE diff --git a/README.md b/README.md index 0f9a291..d396652 100644 --- a/README.md +++ b/README.md @@ -3,19 +3,36 @@ Acquisition System](https://open-ephys.github.io/onix-docs). - Open Ephys store: https://open-ephys.org/onix -- Library documentation: https://open-ephys.github.io/onix1-bonsai-docs +- Library documentation: https://open-ephys.github.io/bonsai-onix1-docs - Hardware documentation: https://open-ephys.github.io/onix-docs -### Run in visual studio +### Run in Visual Studio 2022 1. Double click the `Setup.cmd` file in the `.bonsai` folder. This will install a portable version of Bonsai in the folder along with its required packages. 1. Open `OpenEphys.Onix1.sln` in Visual Studio (Community Edition is fine). 1. Select which project to compile and run Bonsai against. - - `OpenEphys.Onix1`: core library + - `OpenEphys.Onix1`: core library (No GUI elements will be loaded) - `OpenEphys.Onix1.Design`: core library and GUI elements 1. Press the Play button to - Compile the library selected in step 3 - Run the Bonsai application installed in step 1 - Instruct Bonsai to load the compiled library -Select which library to compile +Select which library to compile + +### Enable debugging + +#### Enable child process debugging +1. Download and install [Microsoft Child Process Debugging Power Tool 2022](https://marketplace.visualstudio.com/items?itemName=vsdbgplat.MicrosoftChildProcessDebuggingPowerTool2022). +1. Navigate to child process debugging settings. +1. Check `Enable child process debugging`. +1. Click Save. + +![Child process debugging](./images/child-process-debugging.webp) + +#### Enable native code debugging +1. Navigate to debug properties. +1. Check `Enable native code debugging`. + +![Enable native code debugging](./images/native-code-debugging.webp) + diff --git a/images/build-and-run.png b/images/build-and-run.png new file mode 100644 index 0000000..a2e8e83 Binary files /dev/null and b/images/build-and-run.png differ diff --git a/images/child-process-debugging.webp b/images/child-process-debugging.webp new file mode 100644 index 0000000..7836526 Binary files /dev/null and b/images/child-process-debugging.webp differ diff --git a/images/img-src/child-process-debugging.xcf b/images/img-src/child-process-debugging.xcf new file mode 100644 index 0000000..0922f46 Binary files /dev/null and b/images/img-src/child-process-debugging.xcf differ diff --git a/images/img-src/native-code-debugging.xcf b/images/img-src/native-code-debugging.xcf new file mode 100644 index 0000000..147cf9d Binary files /dev/null and b/images/img-src/native-code-debugging.xcf differ diff --git a/images/native-code-debugging.webp b/images/native-code-debugging.webp new file mode 100644 index 0000000..dabaab9 Binary files /dev/null and b/images/native-code-debugging.webp differ