Ticket #27 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Please add (again) some facility for in-code bookmarks (v0.2.1)

Reported by: jberryman Owned by:
Priority: major Component: ThreadScope
Version: Keywords:
Cc:

Description

I've read the TODO for 0.2.1 and still don't understand why traceEvent messages as bookmarks were removed. Why not a little toggle or something? Or make the "Raw events" pane searchable?

I just spent 30 minutes utterly failing to find 3 events on the graph, flipping between "ghc-events show *.eventlog | less", and scrolling very delicately in "Raw events" trying to match two different time formats.

Meta note: how would I contribute to threadscope if I wanted to?

Change History

Changed 2 years ago by duncan

  • status changed from new to closed
  • resolution set to fixed

The "traceEvent as bookmark" experiment was I think quite successful. It's clearly useful. However in practice we need it to be a different event, because the existing traceEvent is used for high frequency events, and that just doesn't work for bookmarks.

But I've now added a Debug.Trace.traceMarker and corresponding event, and converted the ThreadScope? code to use that. So the feature will be back in, for ghc-7.8.

About raw events being searchable, yes it'd be nice.

To contribute, grab the darcs repo and send in patches. Ask Qs via email.

Note: See TracTickets for help on using tickets.