Genymotion - debugging in Eclipse on Windows 7

I have been using the Genymotion emulator for Android for 2 weeks now.
While everything was fine, I was able to debug and everything worked perfectly (and pretty quickly).

Suddenly, the debugger went crazy yesterday: it jumps over certain lines of code,
doesn’t execute certain methods, shows that the instance is objnot null (on hover), but it doesn’t execute the if (obj != null)code blocks that follow, etc. etc.

Has anyone else seen this and is there any solution for it?

In fact, I think it behaves the same with the standard Android emulator.
And it also started yesterday. Therefore, I am simply puzzled by what I can do to fix this strange problem and continue to work normally.

Needless to say, I cleaned and rebuilt my project several times in Eclipse.
Rebooted my computer. Nothing helps so far.

+4
source share
2 answers

I cannot be sure that this is a problem, but I experienced strange debugging behavior when I had an interface with two methods with the same generic type name but with different signatures , for example:

public <T extends Something1> void method1(T t){...}

public <T extends Something2> void method2(T t){...}

, , :

  • - .
  • , ... .
  • , , , : |

- Eclipse ...

, ( ) :

public <T1 extends Something1> void method1(T1 t){...}

public <T2 extends Something2> void method2(T2 t){...}

, , !

, :)

+3

, .

, ( )

: 1- ,

2-

3 , java Compiler

4- , :

2 :

1- , , "" ,

2- , , "" , , . THEN , , "" , .

. , , Build Automatically Window .

+1

All Articles