DebugTools
DebugTools copied to clipboard
热部署、热重载、调用任意Java方法、打印SQL、执行Groovy、搜索 http 地址(hot deploy, hotswap, hot reload, Similar to jrebel. Call any Java method, Similar to api tool. Others: SQL statements and time co...
**描述bug内容** 多模块项目热重载后报错 **版本信息** - DebugTools版本: [e.g. 4.3.1] - bug中间件的版本: [e.g. SpringBoot: 2.3.12.RELEASE] Start: MyBatis Log EasyPlus DebugTools: 2025-09-09 14:24:13.702 INFO [main] i.g.f.d.t.a.DebugToolsAttach 59 : JAVA_HOME:D:\Program Files\Java\jdk1.8.0_181\jre DebugTools: 2025-09-09 14:24:13.722 INFO...
**bug内容** 在使用热部署功能来启动应用时,出现了预期之外的错误。其中导致Bean创建失败的关键错误为:java.lang.IllegalAccessException: Class io.github.future0923.debug.tools.hotswap.core.plugin.spring.getbean.EnhancerProxyCreater can not access a member of class HotswapAgentSpringBeanProxy_1796692748 with modifiers "private static"。关于堆栈详细见下。 **版本信息** - DebugTools版本: 4.5.2 - Spring版本: 4.3.2.RELEASE - Java版本:JDK8 **错误堆栈** ```txt 2026-01-28 17:47:49.822 []...
热重载启动失败(正常启动时可以启动的) 我对比了两个启动的参数 热重载多了这个,其他的看不出来,是要删除该选项嘛?怎么删? -XX:+AllowEnhancedClassRedefinition **版本信息** - DebugTools版本: [e.g. 4.6.1] - Jdk的版本: [21] **日志信息** ```txt D:\Desktop\Java\jdk-21\bin\java.exe -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:5372,suspend=y,server=n -agentpath:C:\Users\liyuzhen\AppData\Local\Temp\idea_libasyncProfiler_dll_temp_folder\libasyncProfiler.dll=version,jfr,event=wall,interval=10ms,cstack=no,file=C:\Users\liyuzhen\IdeaSnapshots\GatewayApplication_2026_06_02_110443.jfr,dbghelppath=C:\Users\liyuzhen\AppData\Local\Temp\idea_dbghelp_dll_temp_folder\dbghelp.dll,log=C:\Users\liyuzhen\AppData\Local\Temp\GatewayApplication_2026_06_02_110443.jfr.log.txt,logLevel=DEBUG -XX:TieredStopAtLevel=1 -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true "-Dmanagement.endpoints.jmx.exposure.include=*" -XX:+EnableDynamicAgentLoading -XX:+AllowEnhancedClassRedefinition --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/jdk.internal.loader=ALL-UNNAMED...
参数 ```java public record ChatRequest( String sessionId, @NotBlank(message = "message must not be blank") @Size(max = 4000, message = "message must be at most 4000 characters") String message ) {...
**内容** 支持record类的参数注释显示 **版本信息** - DebugTools版本: [5.0.0-alpha2] - JDK17➕Boot3.4.3 **demo文件** ```java /** * 测试方法 查询参数。 * * @param interval 间隔天数,表示查询最近多少天的任务 ( 默认值为 2 ) * @since 1.0.0 */ public record TestMethodQueryParam(Integer...
```java import cn.hutool.json.JSONObject; import lombok.Data; @Data public class BaseNoticeReq { private String reqSign; private JSONObject reqHeader; private JSONObject reqBody; } ``` 如下merchantFunctionInfo会被解解析解 JSONArray ```json { "reqSign": "", "reqHeader": { "transSequence":...
**描述bug内容** 问题1:调试xxlJob方法时,把携带的参数放入XxlJob参数框内,方法参数框内不填内容,点击执行就会报对应错误 问题2:如图,方法参数我没填数据,但任然会有绿色小绿点(不清楚是不是显示bug) **版本信息** - DebugTools版本: [5.0.0-alpha2] - bug中间件的版本: [Xxl-Job: 3.3.2] - Boot3.4.3+JDK17 **日志信息** ```txt DebugTools: 2026-05-15 10:31:59.270 WARNING [DebugTools-BizPool-88] i.g.f.d.t.s.n.d.ServerDispatchHandler 61 : biz handle error java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at io.github.future0923.debug.tools.server.utils.DebugToolsEnvUtils.setXxlJobParam(DebugToolsEnvUtils.java:702)...
注入请求头失效
**描述bug内容** springboot3中Javax改名Jakarta,加载类异常,导致注入请求头失效 **版本信息** - DebugTools版本: [e.g. 4.5.3] - bug中间件的版本: [e.g. springboot: 3.4.3]
启动应用经常报错
**描述bug内容** 请清晰简洁地描述错误内容 **版本信息** - DebugTools版本: [e.g. 4.6.0] - bug中间件的版本: [e.g. IDEA: 2026.1] **日志信息** ```txt com.intellij.openapi.diagnostic.RuntimeExceptionWithAttachments: Read access is allowed from inside read-action only (see Application.runReadAction()); If you access or modify...