Check if Java bytecode contains debug symbols

后端 未结 2 1680
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-03 10:12

I would like to know how can I check if a compiled Java class contains debug symbols. The problem is that I compile an application from ant with debug=\"on\", but a specific

2条回答
  •  -上瘾入骨i
    2020-12-03 11:03

    The most important thing a class file with debug information will contain is the LineNumberTable which maps bytecode instructions to source line numbers and the LocalVariableTable which tells the debugger where your local variables, including arguments to a method reside inside the VM during execution.

提交回复
热议问题