Please enable JavaScript to view this site.

winIDEA Help

Version: 9.21.197

Creating initialization scripts

Watches window can create a Python initialization script. All selected watches (which can be modified) are exported to a Python file along with their current values:

 

 

number1

Select watch expressions.

 

number2

Right click and select Create Initialization Script.

 

number3

Save the Python script.

The script is using standard isystem.connect Python syntax and can be executed as such.

 

Number4

Run the script.

Via Tools / Run scripts

Via Tools / External Scripts / Your_script.py

Drag and drop the saved script to winIDEA Editor, press F6 and the script will be executed.

 

 

Warning40x40

If regular watch pane is used, monitor access will be used to perform the modification. If real-time watch pane is used, real-time access will be used. This setting can be manually overridden by editing the Python file.

 

 

Creating initialization script with char variables

When generating an initialization script from the Watch window variable values will be used as displayed in the Watch window. This may be problematic for the char variables, as most commonly they are displayed in ASCII (integer) format. This format will not work in the initialization script. In order to change the display format of the char variables go to Debug / Debug options / Symbols / Character display and choose Integer.

 

Copyright© iSYSTEM AG Carl-Zeiss-Str.1 85247 Schwabhausen Germany