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

As a developer, I want to use debugger so that I can debug code #792

Open
scottb1978 opened this issue Sep 27, 2020 · 2 comments
Open

As a developer, I want to use debugger so that I can debug code #792

scottb1978 opened this issue Sep 27, 2020 · 2 comments

Comments

@scottb1978
Copy link

Expected behavior

It should run the debugger

Actual behavior

/opt/conda/envs/fastai/lib/python3.8/site-packages/pixiedust/display/display.py in render(self)
333 """.format(self._getExecutePythonDisplayScript(menuInfo)))
334 else:
--> 335 start = time.clock()
336 self.doRender(handlerId)
337 self.executionTime = time.clock() - start
AttributeError: module 'time' has no attribute 'clock'

Steps to reproduce the behavior

Use %%pixie_debugger to debug
Get error

My understanding is the time.clock() has been deprecated so I have also tried to change the lines of code 335 & 337 to time.process_time(). This also didn't seemed to work.
https://stackoverflow.com/questions/85451/pythons-time-clock-vs-time-time-accuracy

@scottb1978
Copy link
Author

Looks like this is a similar issue but what they suggest to try didn't work for me.
#788

@Sandy4321
Copy link

any updates pls
in this video is shown it works
https://www.youtube.com/watch?v=sm1YoOp2BR0&ab_channel=StatsOnStatsOnStats&t=0s

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