-
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
Debugbuild to crashlog #118
Comments
Could it be possible for the user(programmer) to have some access over 'bbOnDebugEnterScope' and 'bbOnDebugEnterStm' ? |
I often would like to have a kind of lightweight debug build. Often I would already enjoy knowing "where" something happened. Without details of the variables etc. Once you know where something crashes you could always go deeper with additional debuglog calls etc.
But this is only needed as debug builds are so much slower in blitzmax than release builds (because of the way our debugger works).
|
@Scaremonger linked to these on discord:
Some of us might be OK with having a backtrace based on the bcc generated C-code and it is better than having nothing at all. |
Wookie at discord asked for ways to autogenerate a kind of crashlog.
So you can hand out special builds to users experiencing crashes. Once it crashes you could collect certain information regarding source of the crash.
I suggested one way to achieve it: a wrapper binary which executes the debug build of the application of interest. If the debugger there kicks in the wrapper binary would command the debugger to spit out certain information...about current scope, backtrace etc.
While this could work (and the wrapper could be kinda generic..aka provided by bmx ng) it might be also something bmk possibly can provide .../ Build in the binary on request.
So instead of the debugger waiting for input it spits put a defined set of information (similar to the tree maxide spits out in the debug pane).
What do you think? What do you suggest to offer such a thing to your application's users?
The text was updated successfully, but these errors were encountered: