The debug step will not work on its own code: MyClass $ Proxy $ _ $$ _ WeldClientProxy.myMethod () line: not available

When debugging, I set a breakpoint on the line that calls the method from another (native) class. On step intoI get Source not foundin the editor with a title MyClass$Proxy$_$$_WeldClientProxy.myMethod() line: not availablein stacktrace.
I can step over them until I return to the class with a breakpoint.

I have the same problem as Eclipse Kepler SR 1, Eclipse Juno SR 2 and JBoss AS 7.1.1 and 7.2.

+4
source share
3 answers

. , ( A) ( B), B B ', .

B ' , B, , , B.

, " " - , . , .

  • B,
  • "run" "step into"

. -, .

. , . , java- (javac) , .

+5

Weld ( ). - MyClass$Proxy$_$$_WeldClientProxy, . - MyClass.myMethod(), . "" " " Eclipse.

, MyClass , , ; , ! Ctrl-T ( Eclipse), .

+2

An old question, but I really want to mention step filters as a possible solution. To "solve" the problem, you can define a step filter that takes a step by step over the Weld proxy and stops where you really want to stop it.

Open the workspace settings, go to “Java → Debug → Step Filtering” and select “Add Filter”. Define "$ Proxy *" as the template to filter.

+1
source

All Articles