jurassic
jurassic copied to clipboard
ScriptEngine.EnableDebugging
Hi Paul,
I've just upgraded to the latest version of Jurassic (3.2.4) and have found that EnableDebugging has been removed from the ScriptEngine Interface.
Has debugging of scripts been removed from Jurassic or is there another way that I should use so that I can debug scripts when using ExecuteFile?
Many thanks for any info John
Prior to the 3.2 release there was a .NET 4 specific build included in the Nuget package, which included the debugging functionality. I dropped support for this in the 3.2 release because it's a bunch of work to maintain and there shouldn't be too many people still using .NET 4. Unfortunately .NET core has never supported the necessary functionality to implement debugging (https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.symbolstore.symdocumentwriter?view=netframework-4.8).
The only straightforward way to keep the debugging support is to stick with the 3.1.0 version I'm afraid. Sorry!
The only straightforward way to keep the debugging support is to stick with the 3.1.0 version I'm afraid. Sorry!
That's too bad. Do you have another way to implement debugging?