Skip to content
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

Implement a debugger in flog #61

Open
wishstudio opened this issue Sep 10, 2015 · 0 comments
Open

Implement a debugger in flog #61

wishstudio opened this issue Sep 10, 2015 · 0 comments

Comments

@wishstudio
Copy link
Owner

Using Visual Studio debugger for debugging a crashed instance is not very helpful - you cannot do many things other than introspect the call stack, current memory or registers. Currently flinux automatically dumps memory allocations on crash, it is useful for some scenarios, but often more information about mm/vfs/heap etc are required.

To help make the debugging experience easier, we want to implement a small debugger inside flinux, it should be loaded after flinux crashes or via a function call, and let user introspect the current state of the instance.

This should first be a command line based debugger which let users type in debugger commands in flog, and it communicates with flinux and shows the results in the log viewer.

Main tasks to be done:

  • Implement debugger command line interface in flog
  • Design a debugger interface between flinux and flog
  • Implement human readable vfs/mm/... introspection functions
  • Start the debugger when flinux crashes, and implement various debugger commands
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant