This is the mail archive of the frysk@sources.redhat.com mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Stacktraces in the SourceWindow


Awesome! It looks good. Nice to see the bits coming together after a lot of hard work!

This has me thinking of another use of the source-window -> monitor interactions

<bluesky>

If we could store the stack-trace saying during a syscall, we could print to the log window what function the thread was in when the syscall entered, as well as all the usual information. We could code up a GTK method to make the function click-able in the monitor log, and then it would open a source window showing the code context of where the syscall happened. If we stored the whole stacktrace for each log event in the ui, we could even show the user how it got to that point in the code. We 'd have to have a circular buffer though, and eventually stack traces would be discarded as memory demands dictate.

</bluesky>

Mike Cvet wrote:
For your viewing enjoyment, here is a preliminary screenshot of the
libunwind work thus far presented in the SourceWindow, using Alex's
libunwind patches.

Still a lot of bugs to iron out both in the unwinding and the Java stack
manipulation (this isn't yet committed) but still a nice milestone!

- Mike


------------------------------------------------------------------------



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]