Property browser: Difference between revisions

Jump to navigation Jump to search
Update property browser →‎Tips and tricks: and →‎Verbose mode
(→‎Wiki articles: + Property Key Handler)
(Update property browser →‎Tips and tricks: and →‎Verbose mode)
Line 34: Line 34:
== Tips and tricks ==
== Tips and tricks ==
Apart from setting a property by clicking it and using the text field and Set button, there is many things that can be done through the property browser:
Apart from setting a property by clicking it and using the text field and Set button, there is many things that can be done through the property browser:
 
{| class="wikitable"
* To ''toggle boolean values'' (like true/false), ctrl-click a boolean property.
|+
* To ''display a property'' in the top left corner of the screen, shift-click the property in the property bowser. To ''remove the property'' ctrl-shift-click another property.
!Mouse click while holding on keyboard 
* To ''clone the property browser window'' click the square in the ''left'' top of the window. The ''right'' square closes the current browser.
!Function
* To ''go to the root'' ctrl-click an "<tt>..</tt>" entry.
!Comment
* To toggle ''verbose/developer mode'' ctrl-click an "<tt>.</tt>" entry.
|-
|ctrl
|on '.' toggle verbose mode
on '..' goto root
on any bool property: toggle true/false value
|Verbose mode is explained below
|-
|shift
|on '.' dump properties to console
display property in top left corner of the flightgear screen
|To ''remove the property'' ctrl-shift-click another property
|-
|alt
|toggle trace_write attribute of the selected property
|Since 04/2024 on next; details below in 'verbose mode'
|-
|ctrl+alt
|toggle trace_read attribute of the selected property
|Since 04/2024 on next; details below in 'verbose mode'
|}


== Verbose mode ==
== Verbose mode ==
Line 56: Line 75:
|-
|-
| R || Trace read operations || rowspan="2" | In <code>--log-level=info</code> create log line with TRACE prefix on write/read operation; set with <code><foo trace-write="y"></code>.
| R || Trace read operations || rowspan="2" | In <code>--log-level=info</code> create log line with TRACE prefix on write/read operation; set with <code><foo trace-write="y"></code>.
Since 04/2024 on next R and W flag can be set on the fly via the property browser (see above)
|-
|-
| W || Trace write operations
| W || Trace write operations
Line 66: Line 86:
|-
|-
| L<N> || Number of listeners
| L<N> || Number of listeners
|
|-
|=> <path>
|Alias target
|This prop is an alias for <path>
|-
|-
|}
|}
252

edits

Navigation menu