-
Notifications
You must be signed in to change notification settings - Fork 3
Test soudan file and improve docs #49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
zonca
commented
May 6, 2025
- debug soudan
- add soudan to examples
- rough draft of docs about debugging
|
@pibion a bit of progress here: I am debugging the stream error that is seen when trying to read the minimal file I created, I have identified that the error is in the I can now:
All of this inside a single VS Code session |
|
@dchoi here is the first actual debugging task. First of all, checkout the I generated that test file myself using this Jupyter Notebook: https://github.com/det-lab/cdms_soudan/blob/main/scdms_soudan_minimal_file.ipynb Therefore you can either use the VS Code line by line debugger and try to understand what is going on, see for example a note I left before in this pull request. |
|
See if this the output you are looking for. or rephrase the procedure to produce the error you are mentioning. |
|
@dchoi ok, I see you were able to execute the notebooks. Now you should run the C++ tests, so you follow again the procedure at: https://det-lab.github.io/kaitai_struct_awkward_runtime/development/ but now instead of running on the |
|
here is the error I get: |
|
Yes, I reproduced the error. =========================== no tests ran in 0.00s =========================== make: *** [Makefile:19: compile_test] Error 4 |
|
@dchoi good, now you can start trying to understand where that is coming from, above in this PR I already had a possible source. |
|
I have so far traced where this crashes on void soudan_t::soudan_history_buffer_t::_read(). |
|
Thank you. Can you correlate this back to the Kaitai file? |