Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app crash when a breakpoint in lambda code body #230

Open
feichangaihu opened this issue Jan 21, 2017 · 3 comments
Open

app crash when a breakpoint in lambda code body #230

feichangaihu opened this issue Jan 21, 2017 · 3 comments

Comments

@feichangaihu
Copy link

Log.e("cxy","heihei");
LambdaFI fi = () -> {
LambdaActivity fi1 = this;
Log.e("cxy","heihei");
};
fi.onClick();

public interface LambdaFI {
public void onClick();
}

when i set a breakpoint at third line(LambdaActivity fi1 = this;) to debug, the app has crash.
what ever third or fouth line , just has a breakpoint in the code body be crash.if i set breakpoint at first or second or sixth is ok.
the logcat info is :
01-21 20:43:47.755 777-4520/? I/WindowState: WIN DEATH: Window{ac8f382 u0 com.a5i_mobile.com.networktest/com.a5imobile.networktest.MainActivity}
01-21 20:43:47.762 777-961/? I/WindowState: WIN DEATH: Window{9f9f839 u0 com.a5i_mobile.com.networktest/com.a5imobile.networktest.testrxandroid.RxAndroidMainActivity}
01-21 20:43:47.780 210-210/? I/Zygote: Process 15116 exited due to signal (11)
01-21 20:43:47.783 777-789/? I/ActivityManager: Process com.a5i_mobile.com.networktest (pid 15116) has died
01-21 20:43:47.784 777-789/? W/ActivityManager: Force removing ActivityRecord{ab1c0a6 u0 com.a5i_mobile.com.networktest/com.a5imobile.networktest.testrxandroid.RxAndroidMainActivity t3847}: app died, no saved state
01-21 20:43:47.802 777-789/? I/ActivityManager: Start proc 21260:com.a5i_mobile.com.networktest/u0a246 for activity com.a5i_mobile.com.networktest/com.a5imobile.networktest.MainActivity

@feichangaihu
Copy link
Author

i find that's operation run on others phone is no problem except nexus 5 with offical image android 6.0

@evant
Copy link
Owner

evant commented Jan 24, 2017

Can you retest with retrolambda 2.5.0 either by setting it explicitly or using 3.5.0 of the gradle-retrolambda plugin?

@feichangaihu
Copy link
Author

l'm try the two version, that's problem still exist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants