This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Breakpoints are not reached in openide/test | ||
---|---|---|---|
Product: | platform | Reporter: | Jaroslav Tulach <jtulach> |
Component: | -- Other -- | Assignee: | Jaroslav Tulach <jtulach> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | jglick, jskrivanek |
Priority: | P3 | Keywords: | T9Y |
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
My changes in openide/build.xml and in xtest
Current diff to xtest and openide. Open openide project and try to run any test in debugger |
Description
Jaroslav Tulach
2004-04-25 11:19:33 UTC
Created attachment 14547 [details]
My changes in openide/build.xml and in xtest
Your tempfile tricks may be too complicated; <pathconvert> etc. provide some helpful conversions. test.class needs to be e.g. org.openide.foo.FooTest for debug-test-single-nb while test.includes for test-single is e.g. org/openide/foo/FooTest.java. Your classpath is probably wrong. openide/test/src doesn't even exist, for example. I don't know much about it for openide/test, which is probably not yet rewritten to use the new XTest templates, but maybe Jirka does. Afraid I have no time to work on it further, but if you want to that's great. Thanks for pointer to pathconverter, Jesse. Jiri, are you comfortable with the changes in xtest? I am comfortable with these changes. I've added the execution part. I still need to find out why the debugger does not stop on the breakpoint. There were a bunch of bugs in apisupport/project which I recently fixed which might have caused failure to stop on breakpoints (I haven't checked yet). Try it again. Hanz offered me a help with diagnostics why the breakpoints are not reached. Moving to him, please return back when you find out what those strange messages I get when running with -Dnetbeans.debugger.breakpoints=true mean. Created attachment 14627 [details]
Current diff to xtest and openide. Open openide project and try to run any test in debugger
Yarda, can you check it once more in the current version? I have added Sources View there. So you can easily check debugger source path. Breakpoints can be reached now. build.xml revision 1.172 date: 2004/06/09 07:14:53; author: jtulach; state: Exp; lines: +51 -14 openide tests can be compiled, executed and debugged under 4.0 project system Verified. |