Skip to content

Conversation

@john-michaelburke
Copy link
Collaborator

@john-michaelburke john-michaelburke commented Jan 8, 2022

Build the app:
cargo make build-dist

Create a file ~/.gdbinit and add this line:
set pagination off

Then run:
for i in {1..1000}; do rust-gdb -ex='set confirm on' -ex run -ex=quit --args console --log-level DEBUG --log-stderr file ../console_backend/tests/data/ins_updates.sbp;echo ${i};done

@john-michaelburke
Copy link
Collaborator Author

In order to run on windows, I installed mingw through choco:
choco install mingw
Then added the gdb executable in the bin to my path.
Updated my .gdbinit file as mentioned earlier.
Then executed the test with:
sh -c "for i in {1..1000}; do gdb -ex='set confirm on' -ex run -ex=quit --args console --log-level DEBUG --log-stderr file ../console_backend/tests/data/ins_updates.sbp;echo ${i};done"

@john-michaelburke john-michaelburke force-pushed the john-michaelburke/build-pyside-from-source branch 2 times, most recently from 9a7d5c6 to 541cdad Compare January 31, 2022 04:53
jm and others added 2 commits February 22, 2022 15:15
Add a readme and a script that describe how to run the app in a looped
fashion to help debug intermittent startup crashes.
@keithel-qt keithel-qt force-pushed the john-michaelburke/build-pyside-from-source branch from 541cdad to 42920cc Compare February 22, 2022 22:26
* This improves the build process to build PySide2 from sources to allow
  for debugging.
* With this change, one should be able to build PySide2 and build,
  install the console into the dist python installation.

* Steps to be able to run the console from a blank slate with PySide2
  built from source, run these steps:
  + cargo make pre-build-dist
  + cargo make build-dist
  + py39-dist/python.exe -m swiftnav_console.main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants