Bugs item #776313, was opened at 2003-07-23 10:17
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=776313&group_id=44253
Category: Debugger
Group: Annoying
Status: Open
Resolution: None
Priority: 5
Submitted By: James Hsia (jhsia)
Assigned to: Nobody/Anonymous (nobody)
Summary: Cannot debug while testing
Initial Comment:
When a breakpoint is hit in a test class, the user is
unable to access fields or methods of the class. This
happens because the junit uses its own classloader
called junit.runner.TestCaseClassLoader to load the
classes that are being tested. At a breakpoint,
DynamicJava tries to get the values of fields and
methods, but fails because it says the object that
contains the fields or methods as members is not a
declaring instance of the same class. This is likely
because it is comparing the object's class to the class
that was loaded by our StickyClassLoader.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=776313&group_id=44253
|