-
Notifications
You must be signed in to change notification settings - Fork 33
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
did not work #19
Comments
crashdumper creates a txt file saved to the device. it does not trace to the log as far as I know, but that would be a nice option. |
What log file are you referring to? |
I assumed @hopewise was referring to the output from logcat. |
Ah, so a mobile device thing? I'd be happy to output to that if I knew how. As of right now crashdumper reports the crash via trace(), and writing a file to disk. I could add more logging methods, but I don't have a mobile device so I'd have to lean on the community a little for stuff like that. |
trace() shows up in logcat on android and ios but I don't think crashdumper is logging when the stack trace is collected, I could be wrong or it might be trace stops working after a crash. I added my own traces and got stack traces to show up but I can't recall where I put them. |
Something like this?
That should include the same basic information that's currently being logged to disk. |
Yeah that would be perfect! |
Gimme a sec |
Okay, Crashdumper now has a third parameter in the private doErrorStuff function:
if Let me know how this behaves. |
Awesome thanks @larsiusprime I will try it out tomorrow. Many thanks. |
The trace functionality is working as expected. Thank you! |
@jarbot, did you successfully viewed the error stack list? can you please deploy a simple project example? as you can see above the stack is empty |
@hopewise I am able to see the stack trace in logcat as well as the txt file generated by crashdumper. I would be more than happy to test a simple project. |
@jarbot thank you, as for logcat, wouldn't it view tons of non-my-app related info beside my app's log? is it possible to let it view only my app logs? is there a tool to make it simple? also, I will truly appreciate it if you can share your simple working project that could trace logs to logcat.. |
@hopewise sorry I was confused I thought you had a simple project you wanted me to test. It will take me a bit of time to get a sample project running. You can use the Monitor app that is provided by the android sdk. Make sure you have installed the platform tools. http://developer.android.com/tools/help/monitor.html This tool has a handy console where you can filter by tag, pid, app name, etc. Or from the command line you can do a simple filter like this to see logs for your app:
This is pretty rudimentary but works for basic trace debugging and seeing the stack trace from crashdumper |
Thanks @jarbot for link, I will check that |
I am using openfl 3.3.9, I've opened the log file, but it has no lines number nor stack, I tried to both release and debug build, I've included both of:
Thanks for great extension, I think it might need minor fix? I am haxe 3.2.1
The text was updated successfully, but these errors were encountered: