2
0

DebuggerStatementHandling.cs 692 B

1234567891011121314151617181920212223
  1. namespace Jint.Runtime.Debugger
  2. {
  3. /// <summary>
  4. /// Choice of handling for script <c>debugger</c> statements.
  5. /// </summary>
  6. public enum DebuggerStatementHandling
  7. {
  8. /// <summary>
  9. /// No action will be taken when encountering a <c>debugger</c> statement.
  10. /// </summary>
  11. Ignore,
  12. /// <summary>
  13. /// <c>debugger</c> statements will trigger debugging through <see cref="System.Diagnostics.Debugger"/>.
  14. /// </summary>
  15. Clr,
  16. /// <summary>
  17. /// <c>debugger</c> statements will trigger a break in Jint's DebugHandler. See <see cref="DebugHandler.Break"/>.
  18. /// </summary>
  19. Script
  20. }
  21. }