alibaba / alibaba/fastjson2

[QUESTION]使用fastjson2的动态生成的类如何调试

Open
#3,878 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
Java
Stars
4.4k
Forks
613
Avg merge
1d 22h
Merged PRs (30d)
6

Description

### 请描述您的问题
*询问有关本项目的使用和其他方面的相关问题。*
我在开发过程中通过com.alibaba.fastjson2.JSON#parseObject(java.lang.String, java.lang.Class)动态生成的类对象(以ORG_数字开头的对象),如果才能调试呢?
我查资料分析了一下说是默认是通过ASM字节码控制框架生成的,没有生成.class文件,这个如何才能debug调试嗯?
还请解答一下,谢谢

Contributor guide

Open the contributing guide

Research direction

Start at com.alibaba.fastjson2.JSON#parseObject(String, Class) and inspect the dynamic class generation path mentioned in the report, including its ASM usage. Determine what debugging guidance the project can document for ORG_数字 objects and make the expected debugging workflow clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.