This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Expressions window - debug perspective



Hi,

We can see variables values while debugging in the Expressions window when we pause the application.
But this window keeps the names of all variables you set until you delete them from there and it shows the same variables for all projects in the workspace.
Is there a way to see different variables in the Expressions window for every project we want?

I mean, if I debug project1 I add and see var1 and var2. If I start to debug project2 I would add and see var4 and var5, if I debug project1 again I'd like to see only var1 and var2 without having to delete/add them everytime.

Thanks

  • Hello,

    The contents in the expressions view is not tied to a project context and as far as I know, it is not possible to do this.

    Johannes said:
    without having to delete/add them everytime.

    To make this easier you can export variables in the expressions view to a file and import it later. You can also add variables to the expressions view via the scripting console and automate it with a console script.

    ki