Class prepare breakpoint for classname="*" ? [message #218487] |
Mon, 07 November 2005 12:36 |
Eclipse User |
|
|
|
Originally posted by: dacostae.ciudad.com.ar
Hi!
I'm trying to install a class prepare breakpoint for every class loaded.
after that I'll install breakpoints in any interesting method entry/exit
of that class.
The problem is that I don't know how to create ClassPrepareBreakpoint that
is not for a specific classname.
Here is the code I use:
classPrepareBreakpoint =
JDIDebugModel.createClassPrepareBreakpoint(ResourcesPlugin.g etWorkspace().getRoot(),
"test.Main", 0, -1, -1, true, attributes);
of course is won't work with "*" as typename because it's not a pattern.
I tried:
br=JDIDebugModel.createTargetPatternBreakpoint(ResourcesPlug in.getWorkspace().getRoot(),
"*", -1, -1, -1, 0, true, attributes);
br.setPattern(debugTarget,"*");
but is doesn't even hit once.
Any way to do what I need?
|
|
|
Powered by
FUDForum. Page generated in 0.06247 seconds