View variables in imported module
I'm importing a module containing control variables for a program and I wonder whether there is a way of interrogating them at a breakpoint (as with 'Stack Data')
from pgvars import Pgvars as pgv
.
.
if pgv.value_1 == 'A':
pgv.Value_2 = '123'
else:
pgv.value_2 = 'abc'
.
if pgv.value_2 == 'abc' # breakpoint
at the breakpoint I can display the individual variables in 'debug probe'.
Is there a way of viewing all variables in 'pgv' ?
I feel that this is an elementary question but can't find an answer.
I'm running Python 3.5 on Xubuntu 18.04 using Wing Pro 6.1.2.1
Comments