Commit Graph

159 Commits

Author SHA1 Message Date
charles lefebvre
47718bb848 Fix LiveCoding console not starting when activated through command line
#rnx
#rb Tim.Smith

[CL 36761985 by charles lefebvre in 5.5 branch]
2024-10-01 20:13:18 -04:00
Tim Smith
e0faa51c3e Fix issue with content browser now properly detecting new classes from live coding.
#rnx
#rb Julien.StJean
#jira UE-225318

[CL 36592555 by Tim Smith in 5.5 branch]
2024-09-25 17:41:09 -04:00
andrew rodham
7e74749c93 Core: Added a container for global debugging pointers that is visible to natvis
This new concept aims to abstract the complexities of dealing global debugging state that is tricky with the symbol resolution scoping rules in Visual Studio's natvis specification, and fragile with live-coding.
The specification causes natvis authors to often need to add explicit scoping to global variables (using {,,UnrealEditor-ModuleName.dll} or UnrealEditor-ModuleName.dll! scoping), which is fragile for different build types (Editor vs Server vs Client) and configurations (Debug, Shipping etc).

This change adds a GDebuggingState symbol to every dll with which any engine module or third-party library can register global pointers using a unique GUID. The GUID string can then be used to locate that pointer from any other module through a natvis intrinsic function using strstr, without having to inject a specific symbol name into every DLL.

This allows authors to write generic natvis expressions that will work robustly when being viewed from the context of any other module, or in code that has been patched by LiveCoding.

#rb Nicholas.Frechette, Tim.Smith

[CL 35592824 by andrew rodham in ue5-main branch]
2024-08-16 09:36:37 -04:00
jonathan bard
08898836fe Fixed LiveCoding not detecting changes when working from vanilla editor
#rb Tim.Smith

[CL 35366022 by jonathan bard in ue5-main branch]
2024-08-07 08:44:03 -04:00
steve robb
f40be2d759 Fixed some 'deprecated' FString usage.
#rb james.hopkin

[CL 34603027 by steve robb in ue5-main branch]
2024-06-24 09:25:50 -04:00
maxime mercier
f602aaf8b6 Fix LiveCoding hitting a check upon starting.
#rb matt.breindel, Tim.Smith

[CL 34285568 by maxime mercier in ue5-main branch]
2024-06-11 14:50:11 -04:00
tim smith
956cd96221 Added documentation to the PreloadNamedModules live coding setting
#rnx
#rb Tim.Smith

[CL 33260287 by tim smith in ue5-main branch]
2024-04-26 06:57:17 -04:00
henrik karlsson
16360300e5 Fixed non unity compile errors
[CL 32947049 by henrik karlsson in ue5-main branch]
2024-04-12 18:02:03 -04:00
VesCodes
004d5cae1c PR #11437: LiveCoding: Fix crash patching headless editor instances
#jira UE-206330
#rb Tim.Smith

[CL 32589028 by VesCodes in ue5-main branch]
2024-03-28 15:19:29 -04:00
julien stjean
67d9048ae5 Large perf improvement for the editor in a large project:
Reworked the ClassDataSource so that it doesn't require a full data refresh when a module is Loaded, Unloaded or Reloaded.
Deprecated the capacity for a ContentBrowser Data Source to request a full data refresh since this doesn't well scale on large projects.

Added a way to query a IReload for the classes that were reinstancited.

Fixed a bug in the FNativeClassHierarchy::GatherMatchingNodesForPaths function. It failed a getting a existing class node if a folder in its path had the same name has the class.

#jira UE-208789

#rb kevin.macaulayvacher

[CL 32212553 by julien stjean in ue5-main branch]
2024-03-13 10:24:34 -04:00
christopher waters
15bede992d Entire engine compiling with -DisableUnity -IncludeHeaders
[CL 31778133 by christopher waters in ue5-main branch]
2024-02-23 16:51:32 -05:00
christopher waters
5a0e169c6d Getting more headers compiling solo on Win64.
#rb joe.kirchoff, henrik.karlsson

[CL 31663239 by christopher waters in ue5-main branch]
2024-02-20 18:57:35 -05:00
robert millar
69d430b79c Add synchronous version of live coding compile command for use with cmdlink tool/remote console commands in general
[CL 31067089 by robert millar in ue5-main branch]
2024-01-31 17:07:52 -05:00
nick edwards
642f1a39bb Allow enabling/disabling LiveCoding via command line switch -LiveCoding=true|false
Useful in cases where there are multiple live coding targets, and you are only interested in having live coding enabled for one.
#rb Tim.Smith

[CL 30686790 by nick edwards in ue5-main branch]
2024-01-18 11:54:34 -05:00
maxime mercier
78714aa45a Enabling LiveCoding in UEFN
Support live coding when the BaseDir is != than the Executable path

#rb Tim.Smith

[CL 30592990 by maxime mercier in ue5-main branch]
2024-01-12 10:16:10 -05:00
marc audy
a88b71c8b7 Fix/silence C4702 warnings
#rnx

[CL 29883627 by marc audy in ue5-main branch]
2023-11-22 01:04:15 -05:00
tim smith
6fcbe51e16 Removed usage of include file macros from LiveCoding source since it was causing issues with SN-DBS
#rb tim.smith

[CL 29401475 by tim smith in ue5-main branch]
2023-11-03 07:04:54 -04:00
joe kirchoff
aeca895d45 Fix compile issue with cl-clang
#rnx

[CL 28427476 by joe kirchoff in ue5-main branch]
2023-10-03 15:38:41 -04:00
tim smith
9cc91976c0 Fix to live coding shutdown to eliminate a somewhat rare crash on exit.
#rb Dan.Engelbrecht
#jira UE-188767

[CL 26055035 by tim smith in ue5-main branch]
2023-06-16 11:55:21 -04:00
Steve Robb
e8df23c174 Fixed mismatched copy constructor/assignment operator in FixedSizeString.
#rb none
#jira none
#preflight 645919bc6c35ad81e621217a

[CL 25372020 by Steve Robb in ue5-main branch]
2023-05-08 12:18:34 -04:00
tim smith
20d5198a07 Fixed issue in LiveCoding preload module support where if a module name is known but not currently loaded, the engine would generate a check.
#rb devin.doucette
#jira UE-177805
#preflight 63f4f6f19b26c4957e0b8914

[CL 24345013 by tim smith in ue5-main branch]
2023-02-21 13:47:53 -05:00
tim smith
a6a1bcf63b Fixed issue with LiveCoding where large projects might not have enough memory reserved around libraries preventing patching.
#rb josh.adams, self
#preflight 63d9550fba4fadeef097c212

[CL 23935004 by tim smith in ue5-main branch]
2023-01-31 14:46:34 -05:00
tim smith
ad7274f76c Fix compilation issue with VS2019
#rb self
#rnx
#preflight 63d82e52d21dbe1d296cf453

[CL 23923504 by tim smith in ue5-main branch]
2023-01-31 01:17:32 -05:00
tim smith
ccf1af206b Added a new LiveCoding command that allows for a single command to add both types of modules and a list of reserved pages.
#rb self
#rnx
#preflight 63d80c8a1f0aa8a2895c9d22

[CL 23923296 by tim smith in ue5-main branch]
2023-01-31 01:12:06 -05:00
tim smith
d447f60f19 Fixed LiveCoding issue where if a typo is made in the preloaded module list, the game would hit a breakpoint.
#rb self
#preflight 63c54a302e714f64adda77e0

[CL 23729054 by tim smith in ue5-main branch]
2023-01-16 09:26:35 -05:00