Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to see function calls? #116

Open
SimonLab opened this issue Feb 19, 2019 · 0 comments
Open

How to see function calls? #116

SimonLab opened this issue Feb 19, 2019 · 0 comments
Labels
help wanted If you can help make progress with this issue, please comment! question A question needs to be answered before progress can be made on this issue

Comments

@SimonLab
Copy link
Member

When debuging a function it's often helpful to have a log of all the functions that are being called when running a specific functions. At the moment I'm using a lot of IO.inspect which is good but tedious when a lot of functions are called.

I think the dbg module of Erlang can be used to trace the function calls: http://erlang.org/doc/man/dbg.html

see also https://stackoverflow.com/questions/50364530/elixir-trace-function-call and https://stackoverflow.com/questions/1954894/using-trace-and-dbg-in-erlang/1954980#1954980

@SimonLab SimonLab added help wanted If you can help make progress with this issue, please comment! question A question needs to be answered before progress can be made on this issue labels Feb 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted If you can help make progress with this issue, please comment! question A question needs to be answered before progress can be made on this issue
Projects
None yet
Development

No branches or pull requests

1 participant