jurassic icon indicating copy to clipboard operation
jurassic copied to clipboard

ScriptEngine.EnableDebugging

Open babblefish99 opened this issue 4 years ago • 3 comments
trafficstars

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

babblefish99 avatar Nov 01 '21 14:11 babblefish99

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).

paulbartrum avatar Nov 01 '21 21:11 paulbartrum

The only straightforward way to keep the debugging support is to stick with the 3.1.0 version I'm afraid. Sorry!

paulbartrum avatar Nov 01 '21 21:11 paulbartrum

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?

xlljc avatar Dec 20 '21 15:12 xlljc