@@ -19,39 +19,56 @@ public bool AwaitDebuggerAndPauseOnStart
1919 }
2020
2121 /// <summary>
22- /// Gets or sets a flag for whether to enable script debugging features
23- /// (allows a TCP-based debugging)
22+ /// Gets or sets a TCP port on which to listen for a debugger connection
2423 /// </summary>
25- public bool EnableDebugging
24+ public ushort DebugPort
2625 {
2726 get ;
2827 set ;
2928 }
3029
3130 /// <summary>
32- /// Gets or sets a flag for whether to enable remote script debugging.
33- /// This property is ignored if value of the <see cref="EnableDebugging"/>
34- /// property is false.
31+ /// Gets or sets a flag for whether to disable dynamic method binding
3532 /// </summary>
36- public bool EnableRemoteDebugging
33+ /// <remarks>
34+ /// <para>
35+ /// When this property is set to <c>true</c>, the script engine bypasses the default method
36+ /// binding algorithm and uses reflection-based method binding instead. This approach
37+ /// abandons support for generic type inference and other features, but it avoids engaging
38+ /// the dynamic infrastructure.
39+ /// </para>
40+ /// </remarks>
41+ public bool DisableDynamicBinding
3742 {
3843 get ;
3944 set ;
4045 }
4146
4247 /// <summary>
43- /// Gets or sets a TCP port on which to listen for a debugger connection
48+ /// Gets or sets a flag for whether to disable global members
4449 /// </summary>
45- public ushort DebugPort
50+ public bool DisableGlobalMembers
4651 {
4752 get ;
4853 set ;
4954 }
5055
5156 /// <summary>
52- /// Gets or sets a flag for whether to disable global members
57+ /// Gets or sets a flag for whether to enable script debugging features
58+ /// (allows a TCP-based debugging)
5359 /// </summary>
54- public bool DisableGlobalMembers
60+ public bool EnableDebugging
61+ {
62+ get ;
63+ set ;
64+ }
65+
66+ /// <summary>
67+ /// Gets or sets a flag for whether to enable remote script debugging.
68+ /// This property is ignored if value of the <see cref="EnableDebugging"/>
69+ /// property is false.
70+ /// </summary>
71+ public bool EnableRemoteDebugging
5572 {
5673 get ;
5774 set ;
@@ -195,10 +212,11 @@ public UIntPtr MaxStackUsage
195212 public V8Settings ( )
196213 {
197214 AwaitDebuggerAndPauseOnStart = false ;
198- EnableDebugging = false ;
199- EnableRemoteDebugging = false ;
200215 DebugPort = 9222 ;
216+ DisableDynamicBinding = false ;
201217 DisableGlobalMembers = false ;
218+ EnableDebugging = false ;
219+ EnableRemoteDebugging = false ;
202220 HeapExpansionMultiplier = 0 ;
203221 HeapSizeSampleInterval = TimeSpan . Zero ;
204222 MaxArrayBufferAllocation = ulong . MaxValue ;
0 commit comments