Commit Graph

4 Commits

Author SHA1 Message Date
roland munguia
f30e2a5b41 Adds ability to watch properties in Rewind Debugger. (Property Watch Track)
**New**
- Added `FPropertiesTrack` as the root track that handles the watched properties via Rewind Debugger.
- Added `FPropertyTrack` used to for watched property tracks via Rewind Debugger.
- Added `FPropertyWatchManager` used to keep track of watched traced properties.
- Added `FPropertyTracks` type specializations:`FBoolPropertyTrack` and `FNumericPropertyTrack`.
- Added `ReadObjectPropertiesStorage` method in `IGameplayProvider`. Used to access container where traced object properties are stored.
- Added `FindPropertyValueFromStorageIndex` method in `IGameplayProvider`. Used to access a traced property given its id.
- Added context menu building support via `FPropertyTrack` and `SPropertiesDebugViewBase`.
- Added a delegate for mouse button down on an `SVariantValueView`.
- Added `SPropertyTrackView` to show a single `FPropertyTrack` variable information in the Rewind Debugger details panel.
- Improved traced property variables displaying. Friendly display names. Specialization for bools, vector, vector2d and quaternions.
- Added a log category for Rewind Debugger. `LogRewindDebugger`.

**Changed**
- Updated `FObjectPropertyValue` to keep track of its unique name id, and unique parent id.
- Updated `FRewindDebugger` to handle menu registration for `ComponentContextMenu`.
- Updated `FVariantTreeNode` to support storing a trace property id. Used for details context menu to support having a menu entry to watch property.
- Updated `SPropertiesDebugViewBase` to have the ability to create a context menu.
- Updated `SObjectPropertiesView` to better display traced properties.
- Updated object property tracing to handle updated `FObjectPropertyValue`. Create unique named ids for properties.
- Updated `FGameAnalyzer` to handle new version of `FObjectPropertyValue`.
- Updated `FRewindDebuggerTrack` to support a building context menu.
- Updated `UComponentContextMenuContext` to stored the current Rewind Debugger selected track.

**Removed**
- Removed usage of `FObjectPropertiesViewCreator`. Now using `FPropertiesTrackCreator`.

#jira UE-159126
#preflight 634f0394dd0d2ceafae78188

[CL 22610498 by roland munguia in ue5-main branch]
2022-10-18 16:44:57 -04:00
lucas dower
eb486822e9 Add Pose Watch support to the Rewind Debugger
* Recording an instance of an anim blueprint with the Animation Blueprint Editor debug object attached will now trace all active Pose Watches.
* Pose Watches have separate tracks with regions shown for when that pose is evaluated in the anim graph.

#rb keith.yerex
#preflight 62fcf32ae64b1a51092d9976
#jira none

[CL 21424758 by lucas dower in ue5-main branch]
2022-08-17 10:18:44 -04:00
Keith Yerex
4f1ab2a23c Animation blueprint debugging support in rewind debugger
#rb Jurre.DeBaare
#preflight 611c3480cc11eb00018d471e

[CL 17208978 by Keith Yerex in ue5-main branch]
2021-08-17 20:32:43 -04:00
Keith Yerex
8180e38fa9 rewind debugger interfaces refactor
- moving interfaces to engine from plugins
- get rewind debugger debug view interface out of GameplayInsights plugin
- change view system to use modular features instead of having it's own registration management
#review jurre.debaare

[CL 16986089 by Keith Yerex in ue5-main branch]
2021-07-28 15:21:01 -04:00