Ad
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. But after a few times the debugging, the breakpoints do not work anymore
Have any solutions?
Ad
Answer
Your answer is this: Put breakpoints on Runtime. Also Can Be Detectable breakpoints Difference Added on Runtime with breakpoint Inserted Before Run Time:
Ad
source: stackoverflow.com
Related Questions
- → How to update data attribute on Ajax complete
- → October CMS - Radio Button Ajax Click Twice in a Row Causes Content to disappear
- → Octobercms Component Unique id (Twig & Javascript)
- → Passing a JS var from AJAX response to Twig
- → Laravel {!! Form::open() !!} doesn't work within AngularJS
- → DropzoneJS & Laravel - Output form validation errors
- → Import statement and Babel
- → Uncaught TypeError: Cannot read property '__SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FIRED' of undefined
- → React-router: Passing props to children
- → ListView.DataSource looping data for React Native
- → Can't test submit handler in React component
- → React + Flux - How to avoid global variable
- → Webpack, React & Babel, not rendering DOM
Ad