简体   繁体   English

几次调试后,断点不起作用

[英]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? 有什么解决办法吗?

Your answer is this: Put breakpoints on Runtime. 您的答案是:在运行时放置断点。 Also Can Be Detectable breakpoints Difference Added on Runtime with breakpoint Inserted Before Run Time: 也可以是在运行时添加的在运行时之前插入断点的可检测断点差异:

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Java Midi音序器在几次后停止发出声音。 我该如何调试/解决? - Java Midi sequencer stops producing sound after a few times. How do I debug/resolve? Mediaplayer播放几次后停止播放 - Mediaplayer stops playing after playing a few times 使用断点在Java中调试Appengine - Debugging appengine in Java with breakpoints 用Intellij中的springload重新加载类后,断点不起作用 - Breakpoints does not work after reloading classes with springloaded in Intellij 使用断点进行调试永远不会进入子类 - Debugging with breakpoints never enters subclass 在选项卡视图之间滑动几次后膨胀异常 - inflate exception after swiping between tab views a few times mp3播放几次后停止播放? - mp3 stops playing after it worked a few times? Android registerOnSharedPreferenceChangelistener 只触发了几次,之后就不起作用了 - Android registerOnSharedPreferenceChangelistener only triggered a few times after that not working POSTGRES函数执行几次后需要很长时间 - POSTGRES Function taking long time after executing it few times Android - 连续扫描几次后找不到 BLE 设备 - Android - No BLE devices can be found after scanning a few times in a row
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM