paulbartrum / jurassic

A .NET library to parse and execute JavaScript code.
MIT License
868 stars 121 forks source link

EnableDebugging is gone from ScriptEngine #184

Closed lhf552004 closed 3 years ago

lhf552004 commented 3 years ago

Just a question, is it debugging feature disabled? As I found I cann't find it from ScriptEngine

Thanks

paulbartrum commented 3 years ago

It's disabled in .NET core, as, last I checked, this feature (emitting debug symbols) wasn't supported in .NET core. It should still be present in the .NET 4.5 version of the library.

paulbartrum commented 3 years ago

Based on this doc page https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.ilgenerator.marksequencepoint this is still the case.