Eclipse IDE: How to create a view of a subset of my code's variables when debugging? -


i'm using eclipse (neon.3 release (4.6.3)) pydev plugin python.

the code i'm debugging has large number of variables, many of nested within other variables. i'd select subset of these variables included in separate view can bypass having drill down variables @ each step, tedious process.

the primary data structure being used pandas dataframe containing numerous columns, , typically need see small portion of values few of dataframe's columns.

for example, let's have dataframe 'df' column named 'x'. whenever debug code want see values of df.x between indices , j (i.e. df.x[i:j+1]). , j may change time time they're variables in code not in 'df'. how can create streamlined tab/view of variables includes df.x._values[i:j+1], preferably separate standard variables view?

thanks in advance suggestions or feedback in general.

this can done using 'expressions' view within debug perspective.

for example in question above can add following expression see want:

list(df.x._values[i:j+1]) 

Comments

Popular posts from this blog

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -

python - Error while using APScheduler: 'NoneType' object has no attribute 'now' -