This folder contains the source code for modifying, building and installing your Luos Analyzer. You can use these files for rebuilding the Luos Analyzer, though it is necessary only if you want to make changes in its functioning. Otherwise, you can use the precompiled executables in the exec folder.
In order to compile the analyzer for Windows, build the visual studio project contained in the Visual Studio folder. For Linux and Mac OS, run the buld_analyzer.py script.
For further information on how to compile, debug and setup the analyzer visit the Saleae support page: https://support.saleae.com/saleae-api-and-sdk/protocol-analyzer-sdk/build
- Open the Logic software.
- In Visual Studio, open the Debug menu and select "attach to process"
- In the available processes search box, search for Logic. You should see 5 results for Logic.exe. (Saleae uses the electron framework for Logic 2, which creates a handful of processes)
- To figure out which one to use, open Task Manager (right click the task bar and select "task manager")
- Expand the entry for Logic (5) in the Processes tab.
- Locate the entry that is using the most ram, and right click it and select "go to details". Note the process ID you see there.
- In visual studio, select the process that has the same ID, and attach.
- Set a break point in your code (e.g. the top of "WorkerThread"). Or, just run your analyzer. Your crash will now just pause the debugger where the code crashed.