Skip to content

Tree-like output #6

Open
Open

Description

@AsafJosefMor

Hi David,

I'm wondering, is there a way to make the frames output show by which frame has been called another frame?
For example in recursion we'll get a tree-like frames structure.
Is there an easy way for this task?

Activity

  1. daveagp commented on Mar 3, 2017

    @daveagp
    Owner

    This sounds cool but is not supported, though with some substantial work, someone could add this feature.

    Right now, the visualizer only shows single instant in time: the execution is on some node of the tree and all of its parents (which is why there's a linear stack, which is that linear sequence of nodes). The work involved would be to merge all of these snapshots together into a tree. The frames don't have unique identifiers, but if each call and return is identified, this should provide the necessary information in principle.

  2. AsafJosefMor commented on Mar 14, 2017

    @AsafJosefMor
    Author

    Thanks David.
    If I want to keep the frames presented, so it won't disappear after a certain code line was executed. Is there a way to make it so?

  3. daveagp commented on Mar 15, 2017

    @daveagp
    Owner

    It has been a while since I worked on the detailed level of the code. The json is created by the code mentioned here:
    https://github.com/daveagp/java_jail/tree/master/cp/traceprinter

    The frontend is inside of the repo upon which you're commenting right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions