PyCharm Workspace
Yes you can have this
Run you application code in Debug mode - look at the bottom frame "Debug".
Now you have 2 further panels Variables and Watches
Drag a "variable" into the Watches panel - and you can see it's value as the program is executed.
This works with Free and Pro versions of Py-Charm
Adam Warner
Marketing Analyst spending majority of time in R and Python.
Updated on June 28, 2022Comments
-
Adam Warner almost 2 years
I am using PyCharm 5.0.3 and I was wondering if there is a way to have a window for the variable workspace similar to R or MatLab. I have seen that Spyder has similar panes to MatLab. This is what I am kind of looking for:
I find the workspace window in MatLab very helpful for recognizing possible issues with the code. Is this possible, or will I need to switch to another IDE? I have seen that it is possible to see the variables while using the debugger function in PyCharm but when I run a simple couple of lines (shown below) through the debugger and look at the varibles I get this
import numpy as np Dim = 11 V = np.zeros(shape=(11,11))
-
Peter Wood over 8 yearsOnly if you've hit a break point.
-
Tim Seed over 8 yearsYes - or if you are stepping through the code Debugging it.