DebuggerStatementHandling.cs 618 B

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