I am trying to track down when did a variable gets updated. I have a watcher, but is there anyway to set up so the execution will get paused when the value is getting updated ?
相关问题
- XDG_RUNTIME_DIR points to non-existing path
- wxPython and PyCharm on Mac
- PyCharm referencing older, removed variable
- Pycharm Error - 'pip' is not an internal o
- Correct usage of typing types for args and kwargs?
相关文章
- pycharm上传代码到github,为什么不能指定某一个项目,而是默认上传第一个项目
- Profiling Django with PyCharm
- How to fix this strange error: “RuntimeError: CUDA
- Pycharm Edu 无法运行代码
- PygraphViz Import Error With PyCharm
- How do you edit the default `__author__ = name` li
- using stdin in pycharm [duplicate]
- Process finished with exit code -1073741819 (0xC00
Currently pycharm does not have a default built-in feature that tracks variable modification in real time. Alternatively you can do this:
The feature you are talking about is, I believe, called watchpoint support and according to this article: http://sourceforge.net/blog/watchpoints-in-python/ Eric and PyScriptor has the feature but not pycharm.
You can add a breakpoint in the line you need to watch and right-click it. Then in the dialog box you have "condition" as last input: add a condition that uses the variable you need and it should stop when you set it to.