agent-demo's Issues
java命令运行-javaagent时的配置是什么呢
java命令运行-javaagent时的配置是什么呢?我猜想是-javaagent:xxx/agent2-loader.jar=xxx/agent2.jar。如果是这种方式,那么带来一个问题,如果调试(debug)agent2.jar中的代码呢,请教
因为我们在开发和测试过程中,遇到问题(如报错,未打上桩)等等,我们需要看调试代码查看从而解决问题
ClassLoader问题
大佬。我在-javaagent启动agent2-build打好的探针包时,准备使用自定义ClassLoader调起Myagent时,会报java.lang.ClassNotFoundException: com.github.akwei.agentdemo.agent2.MyAgent2
的错误。
如果我修改AgentClassLoader类的构造函数,把super(urls, null);
的第二个参数由null改成new URLClassLoader(urls)
后,就报java.lang.NoSuchMethodException: sun.misc.Launcher$AppClassLoader.addClassLoader(java.lang.ClassLoader)
依赖冲突的错。
这是为什么啊,大佬,我查看过打好的jar包,里面是有MyAgent2等等这些类的
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.