Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Annotating the output command trail

See original GitHub issue

Is there something like setMarker, with the following differences:

  • it’d create a new dummy line as a header,
  • it’s a separate line, and wouldn’t get repeated per command

Something like Apple’s annotation, even though these extensions don’t seem to be available in browsers. No need to form hierarchies, but it’d be useful to intersperse GL commands with arbitrary text headers, possibly in a distinct color or larger/thicker font.


It’s possible to somewhat approximate it with using setMarker then cancelling it after the next GL call, or wrapping this into a utility function that does something noop-y in WebGL / WebGL2 like querying something

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

JannikGMcommented, Jan 14, 2022

In other debuggers like apitrace, a debug-group can be collapsed and groups are collapsed by default. I believe that is a very useful feature and it should be easy to implement with HTML. It makes it possible to collapse numerous API interactions into high-level blocks. If sections within sections are allowed, the output list becomes a tree and users could even recreate the call-stack for each API interaction.

sebavancommented, Jan 18, 2022

Let s go for this one instead: #172

Read more comments on GitHub >

github_iconTop Results From Across the Web

annotate-output(1) - Linux man page
Description. annotate-output will execute the specified program, while prepending every line with the current time and O for stdout and E for stderr....
Read more >
The annotate command lists the contents of a version, annotating each line to indicate when, and in which version, the line was added....
Read more >
perf-annotate(1) - Linux manual page
This command reads the input file and displays an annotated version of the code. If the object file has debug symbols then the...
Read more >
1.1.1 Debugger Command Options (-trace, -output
This option sets the "annotation level" inside the debugger. Its effect is identical to using "set annotate level ". The annotation level L ......
Read more >
kubectl annotate - Kubernetes
If –overwrite is true, then existing annotations can be overwritten, otherwise attempting to overwrite an annotation will result in an error.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found