Module java.base
Package java.lang.classfile

# Enum ClassFile.DebugElementsOption

≠
public static final enum DebugElementsOption
extends java.lang.Enum<java.lang.classfile.ClassFile.DebugElementsOption>
implements java.lang.classfile.ClassFile.Option
Comparing master and cf

All Implemented Interfaces:
  `Serializable, ClassFile.Option, Comparable<ClassFile.DebugElementsOption>, Constable`

Enclosing interface:
  `ClassFile`

public static enum ClassFile.DebugElementsOption extends Enum<ClassFile.DebugElementsOption> implements ClassFile.Option
Option The option describing whether to process or discard debug elements. Debug elements include the local variable table, local variable type table, and character range table `PseudoInstruction` s in the traversal of a `CodeModel` or a `CodeBuilder` . The default is `PASS_DEBUG` to process debug pseudo-instructions as all other `CodeElement` .

Debug pseudo-instructions include `LocalVariable` , `LocalVariableType` , and `CharacterRange` Moved to a paragraph.. Discarding debug elements may reduce the overhead of parsing or transforming

classfiles. Default is `PASS_DEBUG` to process debug elements.

`class` files and has no impact on the run-time behavior.Moved to a paragraph.

Since:
  24
See Also:
  Moved to a definition list with class notes.Moved to a definition.Moved to an unordered list with class tag-list.
  - `ClassFile.LineNumbersOption`

## Enum Constants

- ≠
  DROP_DEBUG
  Comparing master and cf

  ### DROP_DEBUG

  public static final ClassFile.DebugElementsOption DROP_DEBUG
  Drop debug elementspseudo-instructions from traversal and builders.
- ≠
  PASS_DEBUG
  Comparing master and cf

  ### PASS_DEBUG

  public static final ClassFile.DebugElementsOption PASS_DEBUG
  Process debug pseudo-instructions like other member elements of a `CodeModel` .

## Methods

- =
  public static java.lang.classfile.ClassFile.DebugElementsOption valueOf(java.lang.String arg0)
- =
  public static java.lang.classfile.ClassFile.DebugElementsOption[] values()

## Summary

Differences
| Elements | Comments | Descriptions | Total
Added | Changed | Removed | Added | Changed | Removed | Added | Changed | Removed
--- | --- | --- | --- | --- | --- | --- | --- | ---
ClassFile.DebugElementsOption |  |  |  |  |  |  | 10 | 2 | 2 | 14
DROP_DEBUG |  |  |  |  |  |  |  | 1 |  | 1
PASS_DEBUG |  |  |  |  |  |  | 3 |  |  | 3
Total |  |  |  |  |  |  | 13 | 3 | 2 | 18