-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add simple xdf loader executable #26
base: main
Are you sure you want to change the base?
Conversation
I think the end of file isn't handled properly, so the last read might return garbage data |
I'm guessing there's something funky going on somewhere else and the additional 8 bytes on the stack shift the problem to somewhere else where it's not noticeable in your test right away. |
I am not so sure how to get the stacktrace, since it hangs instead of breaks on a specific line (well, technically I possibly could, if I really step over one line at a time until it hangs... but not sure I have enough time for that). Also, if we want to keep this test program long term, maybe better putting it under some subfolder specifically dedicated to testing and add as a sub-project? Currently I don't think it directly "builds" with the project file in Qt Creator since it builds as a library. |
You could also pause the program execution when it hangs. It's not as useful as breaking where something fails, but it still tells you which parts of the program were reached and which not. |
This adds a short example that loads an xdf file and prints some statistics.