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

Improve auto-complete and unloaded modules #170

Closed
gomoripeti opened this issue Jun 21, 2020 · 0 comments
Closed

Improve auto-complete and unloaded modules #170

gomoripeti opened this issue Jun 21, 2020 · 0 comments

Comments

@gomoripeti
Copy link
Collaborator

Also complete modules that are not yet loaded but are in the search path (get inspiration from iex and OTP 23 shell)
Ensure module is loaded (in interactive mode) before starting a new monitor.
Additionally when starting a new monitor, return an error if module:function is not available for tracing for some reason (erlang:trace_pattern/3 returned 0 - either module is not loaded, it does not have such function defined or its a non-traceable bif)
Bonus: restart tracing a function when a module is reloaded (experiment with the on_load MFA value of trace_pattern)

gomoripeti added a commit to gomoripeti/xprof that referenced this issue Oct 9, 2020
Also ensure module is loaded before tracing.

Partly solves Appliscale#170
gomoripeti added a commit to gomoripeti/xprof that referenced this issue Oct 11, 2020
gomoripeti added a commit to gomoripeti/xprof that referenced this issue Oct 11, 2020
gomoripeti added a commit to gomoripeti/xprof that referenced this issue Oct 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant