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

Profile and @profile not defined #210

Closed
ZacharieALES opened this issue Feb 3, 2023 · 1 comment
Closed

Profile and @profile not defined #210

ZacharieALES opened this issue Feb 3, 2023 · 1 comment

Comments

@ZacharieALES
Copy link

Hello,

I am using julia 1.7.3 and when I try to run Profile.clear() or @profile f(args...); I get an UndefVarError: Profile/@profile not defined.

The documentation mentions that this error can occur in vscode for @profview but I am not using vscode (it is installed on my computer but I do not use it).

@ZacharieALES
Copy link
Author

Oh it works if I use ProfileView.Profile and ProfileView.@profile good enough for me.

@timholy timholy reopened this Feb 3, 2023
@timholy timholy closed this as completed in 4a61885 Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants