[英]after a few times the debugging, the breakpoints do not work
I use the simple code below to login 我使用下面的简单代码登录
LoginRequest loginRequest = new LoginRequest("093333","ss");
Global.apiManagerTubeless.loginOrRregisterx(loginRequest,new Callback<Object>() {
@Override
public void onResponse(Call<Object> call, Response<Object> response) {
Gson gson = new Gson();
JsonElement jsonElement = gson.toJsonTree(response.body());
Toast.makeText(getContext(),getContext().getString(R.string.welcome) ,Toast.LENGTH_LONG).show();
}
@Override
public void onFailure(Call<Object> call, Throwable t) {
Toast.makeText(getContext(),getContext().getString(R.string.samples) ,Toast.LENGTH_LONG).show();
}
});
When I clone my project from Github,in debug mode breakpoints work correctly onResponse and OnFailure. 当我从Github克隆项目时,在调试模式下,断点onResponse和OnFailure可以正常工作。 But after a few times the debugging, the breakpoints do not work anymore 但是经过几次调试后,断点不再起作用
Have any solutions? 有什么解决办法吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.