question-mark
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.

codemod request: trace function calls

See original GitHub issue

I’m looking to instrument code for debugging so I can trace what functions are being called – a simple console.log('function name', arguments) added as the first command in functions would go a long way. If the class name (for non-anomymous classes) could be included for method calls, that’d be fantastic.

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
coderaisercommented, Jun 16, 2021

Just landed ESTrace based on our talk 🎉 .

1reaction
retorquerecommented, Jul 15, 2021

I was already satisfied, but I don’t know if you want user to close issues or not (I don’t on my own repos)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Interactive Tracing and Debugging of Calls to a Function or...
A call to trace allows you to insert debugging code (e.g., a call to browser or recover ) at chosen places in any...
Read more >
ast — Abstract Syntax Trees — Python 3.11.1 documentation
When an expression, such as a function call, appears as a statement by itself with its return value not used or stored, it...
Read more >
Interactive Tracing and Debugging of Calls to a Function or... - R
A call to trace allows you to insert debugging code (e.g., a call to ... Then trace() will call edit and use the...
Read more >
Write Code to Rewrite Your Code: jscodeshift - Toptal
In this article, we're going to explore a toolkit for codemods called ... we can get a collection of all the call sites...
Read more >
Error Boundaries - React
These errors were always caused by an earlier error in the application ... You can also see the filenames and line numbers in...
Read more >

github_iconTop Related Medium Post

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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found