首页 > 编程知识 正文

eclipse怎么看底层代码,eclipse怎么查看方法的实现

时间:2023-05-06 05:18:36 阅读:62089 作者:1438

I'm not much of an Eclipse guru,so please forgive my clumsiness。

In Eclipse,whenicallassert.assert equals (obj 1,obj2) and that fails,howdoigettheidetoshowmeobj1and obj 2?

I'm using JExample,butiguessthatshouldn ' tmakeadifference。

Edit: Here's what I see:

(source: yfrog.com)

水平。

解决方案

iftheinformationinthejunitviewisnotenoughforyou,youcanalwayssetaexceptionbreakpointon,for example,Java.lang.assertion thedebuggerwillstopimmediatelybeforetheexceptionisactuallybeingthrown。

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。