简体   繁体   English

跟踪堆栈外部库蚀

[英]trace stack external library eclipse

I imported mpi.jar library in Eclipse and everything works perfectly. 我在Eclipse中导入了mpi.jar库,并且一切正常。 I would like to trace the stack of my application but I don't know I to do it. 我想跟踪应用程序的堆栈,但是我不知道该怎么做。 For example, my app calls a method from mpi.jar library called send() and I would like to understand what send() does. 例如,我的应用程序从mpi.jar库中调用了一个名为send()的方法,我想了解send()的作用。 I know that Send() method calls other methods and I would like to trace all these calls internal to Send(). 我知道Send()方法会调用其他方法,并且我想跟踪Send()内部的所有这些调用。 Any idea? 任何想法? Thanks 谢谢

Set an Eclipse breakpoint and launch the application in Debug mode. 设置Eclipse断点,并以Debug模式启动应用程序。 Then the IDE will be stopping at the breakpoint and you can step into mpi.jar library. 然后,IDE将在断点处停止,您可以进入mpi.jar库。 If the source is not directly found you have to navigate and point Eclipse to it. 如果未直接找到源,则必须导航并将Eclipse指向源。 Then you should be able to continue to debug the mpi.jar library. 然后,您应该能够继续调试mpi.jar库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM