- 主题:springboot一个查询语句,是从哪里发起的?
在哪个方法定义上打一个断点,debug启动,可以看到堆栈。
--
FROM 103.37.140.35
不是看日志,你的IDE调试功能里面有个专门看堆栈的小窗口。
【 在 feng321 的大作中提到: 】
: selectList在 BaseMapper<HotelWxConfigEntity>里面,而BaseMapper是一个class文件。我可以在selectList方法上下断点再调试,可是这样的话,程序只跑到加载bean就不跑了:
: 2021-02-09 18:30:24.554 INFO 13284 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'securityManager' of type [org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
: 2021-02-09 18:30:24.691 INFO 13284 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'authorizationAttributeSourceAdvisor' of type [org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
: ...................
--
FROM 103.37.140.35
我调试过,class文件也可以反编译打断点,看堆栈。
你找本书系统的看看吧,太基础的东西,论坛上很少有人会手把手的教你,书上都有。
【 在 feng321 的大作中提到: 】
: class文件,你调试过?selectList方法在class文件里,不是java文件
--
FROM 114.240.84.131