131 Commits
Author SHA1 Message Date
takahiro0327 235e801344 [Simple Mono Profiler] Add self-runtime to simple mono profiler (#16) r11 2024-08-25 23:47:40 +02:00
tom300z 4010d2c317 ScriptEngine: Add assembly dumping setting for debugging of reloaded plugins (#15)
Similarly to the LoadDumpedAssemblies BepInEx Preloader option, this adds a config option which dumps Assemblies & Symbols to the disk.
The assemblies are then loaded from the saved dll so that debuggers can then load the matching symbols & break/step through plugin code.

Tested successfully on Rider but should work for all debuggers that are configured to read symbols from the BepInEx folder.
2024-06-25 01:18:56 +02:00
jivanf 1a07941867 Add "Troubleshooting" section to README (#14) 2023-12-20 11:04:31 +01:00
ManlyMarco a3a1b89f87 Fix CopyLocal flags not being false r10 2023-03-08 17:28:10 +01:00
ManlyMarco 8697f8d9c4 Fix some static analysis warnings 2023-03-08 17:25:52 +01:00
ManlyMarco 933ba9abf2 [StartupProfiler] Fix using obsolete method 2023-03-08 17:03:26 +01:00
ManlyMarco a021711860 Version up to 10.0 2023-03-08 17:02:20 +01:00
ManlyMarco 2b1962885d [ScriptEngine] Improve setting descriptions 2023-03-08 16:59:14 +01:00
ManlyMarco 2772448447 [ScriptEngine] Fix BaseUnityPlugin.Info missing values of Instance and Location properties in reloaded plugins; Fix Chainloader.PluginInfos having an invalid entry if reloading crashes 2023-03-08 16:51:40 +01:00
ManlyMarco 124bf65732 Update dependencies to BepInEx 5.4.19 or newer 2023-03-08 16:26:43 +01:00
ManlyMarco d03ea79206 [ScriptEngine] Skip loading if a normal plugin with same GUID is already loaded 2023-03-08 16:05:36 +01:00
ManlyMarco d75e16e081 [ScriptLoader] Fix reloading not removing previous plugins from Chainloader.PluginInfos 2023-03-08 16:05:32 +01:00
R. Beltran c6a608c458 [ScriptEngine] Add settings: FileSystemWatcher; Loading from subdirectories; Quiet logging (#8) 2023-03-08 12:54:32 +01:00
ManlyMarco 02b60ddda1 Add note about custom mono profiler crash 2022-11-30 08:32:32 +01:00
ghorsington 1c24aced52 Put preloader patcher into correct folder in release ZIPs r9 2021-10-17 18:05:44 +03:00
ghorsington 570c826003 Use UnityEngine.Modules instead of old UnityEngine.Core 2021-10-17 17:48:59 +03:00
ghorsington 535a775521 Use new BepInEx NuGet feed; update packages 2021-10-17 17:45:15 +03:00
ghorsington 48c3cc9807 Bump release 2021-10-17 17:30:09 +03:00
ghorsington 0feb9150c5 MirrorInternalLogs: reformat 2021-10-16 16:34:15 +03:00
ghorsington ae81bdbeab MirrorInternalLogs: restructure project; add Unity 2019 support 2021-10-16 16:32:52 +03:00
ManlyMarco dfb1078f94 Version up to r8 r8 2021-08-15 22:42:42 +02:00
ManlyMarco 05e03fc774 Add release script 2021-08-15 22:42:01 +02:00
ManlyMarco 48d452e5cf Clean up debug symbol configurations 2021-08-15 22:29:30 +02:00
mosirnik bfd203aa98 SimpleProfiler: report numbers separately for each thread 2021-08-15 21:07:57 +02:00
mosirnik c902499cc9 SimpleProfiler: Add allocation profiling 2021-08-15 21:07:57 +02:00
mosirnik 0f9f329b42 SimpleProfiler: rewrite ProfilerInfo for efficiency
* No memory allocation in typical method calls.
* Don't do anything complex in enter_method.
2021-08-15 21:07:57 +02:00
mosirnik 03ab26d38e SimpleProfiler: fix bug where each method was measured only once (#6)
This resulted in the Total runtime column of the CSV to have
much smaller numbers than it should.
2021-08-11 18:05:35 +02:00
ManlyMarco cb551ab7da Add code example 2021-04-21 15:06:09 +02:00
ManlyMarco a2bfb4f38a Uniformize version numbers and assembly attributes, add missing file descriptions r7 2020-11-21 17:41:11 +01:00
ManlyMarco a095ecc63e Add new plugins to readme 2020-11-21 17:17:13 +01:00
ManlyMarco e075162200 ScriptEngine - Better handle exception during plugin load 2020-11-18 21:13:49 +01:00
Geoffrey Horsington 6bb1a730ad Update main.yml 2020-11-17 06:27:16 +02:00
Geoffrey Horsington e8897c2f7d Update main.yml 2020-11-17 06:26:21 +02:00
ManlyMarco 289b8a1098 Clean up logging 2020-11-17 05:14:47 +01:00
ManlyMarco 8a82145582 Fix logging 2020-11-17 05:09:18 +01:00
ManlyMarco 16306f24c8 ScriptEngine - Fixed failing to load plugins if any type in plugin assembly fails to load 2020-11-17 04:16:22 +01:00
Keelhauled 0a4f11b176 CtorShotgun config 2020-10-30 00:18:49 +02:00
Keelhauled 4231a2f355 Use nuget for all libs 2020-10-29 22:31:48 +02:00
Keelhauled 9ad52053fb Add CtorShotgun 2020-10-29 20:07:43 +02:00
ManlyMarco 32d08559fa Make ConstructorProfiler hook more and export to csv 2020-09-16 04:52:43 +02:00
Keelhauled ec030a0d32 Merge branch 'master' of https://github.com/BepInEx/BepInEx.Debug 2020-09-15 13:26:05 +03:00
Keelhauled 058c8ef016 ConstructorProfiler 2020-09-15 13:24:36 +03:00
ghorsington c8682b5b6d Fix missing import 2020-08-26 17:43:12 +03:00
Geoffrey Horsington a005ec3cd5 Merge pull request #4 from dynms1337/feat.failed-load-Information
Added try-catch to ScriptEngine.cs
2020-08-26 17:39:12 +03:00
dynms1337 b69e7e0344 Modified error log format of ScriptEngine.cs
- Lowercase "While" in error messages
- Removed null check of `e.LoaderExceptions`
- Removed printing all loaded types.
2020-08-26 23:34:32 +09:00
dynms1337 02486720ac Readability improvements of ScriptEngine.cs
- Use `var`
- Removed curly brackets from foreach blocks.
- Build the whole error message with one StringBuilder.
2020-08-25 21:35:15 +09:00
dynms1337 b460c6ab31 Added try-catch to ScriptEngine.cs
Added try-catch to display helpful information for investigation when dll files could not be reloaded
2020-08-24 23:15:08 +09:00
ghorsington 8cf9f4f0cd MirrorInternalLogs: bump version r6 2020-08-07 18:25:39 +03:00
ghorsington 38a09facea Annotate byte patterns; fix x64 calling convention to correct one 2020-08-07 18:25:13 +03:00
ghorsington 5cf080e20f MirrorInternalLogs: Bump version r5 2020-08-06 20:06:46 +03:00