Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why doesn't debugger stop at breakpoint?

I have the problem that the chrome debugger for JS doesn't stop every time I execute one certain function. I tried debugger; and also setting breakpoints where I want the code to stop by putting a blue tag on the gutter next to the line on the left.

any ideas why this happens?

like image 652
user3389206 Avatar asked Mar 09 '14 15:03

user3389206


People also ask

Why does Visual Studio not stop at breakpoint?

This problem occurs because ASP.NET debugging isn't enabled on the application.

Why are my breakpoints not working?

If a source file has changed and the source no longer matches the code you're debugging, the debugger won't set breakpoints in the code by default. Normally, this problem happens when a source file is changed, but the source code wasn't rebuilt. To fix this issue, rebuild the project.

How do I stop debug mode?

To exit debug mode, press Alt+B followed by D. at the Command Prompt to exit debug mode.

How do I get out of for loop debugger?

"Step out of loop" in debugger Follow The only way to do that is to set a break point outside the loop, or position the cursor outside the loop and do "run until cursor".

What happens if I delete a Breakpoint while debugging?

If you deleted a breakpoint while debugging, you may hit the breakpoint again the next time you start debugging. To stop hitting this breakpoint, make sure all the instances of the breakpoint are removed from the Breakpoints window. Describes the debugger may not stop on breakpoints when you debug ASP.NET applications in Visual Studio .NET.

Why doesn’t my program stop at breakpoints?

If your program does not stop at breakpoints then follow the below list step by step. Scope: This blog is about the ABAP Development Tools in Eclipse (ADT), not about the SAP GUI Debugger. Nevertheless, many of the following hints are also useful for the SAP GUI Debugger as well. 1) Check whether your breakpoint looks normal like this one .

Does ABAP debugger stop when session breakpoints are set?

But if I set session breakpoints there, ABAP debugger does not stop. I know this LV05IF5I include has a lot of enhancements were break points cannot be set, but I set my BP in the "normal" code, out from enhancement sections and spots. The debugger does not pass on my break points there anyway. The component version is SAP ECC 6.0.

Why are my breakpoints not hitting?

Without a clear reproduction plan, it is very hard to tell why your breakpoints are not hitting. to the location where you want to stop. Without any blue signs on the gutter, the debugger will halt. NOTE: Be sure to clear all the debugger; when you are done with it.


1 Answers

Without a clear reproduction plan, it is very hard to tell why your breakpoints are not hitting.

But, one surest way of stopping on a line is writing:

debugger; 

to the location where you want to stop. Without any blue signs on the gutter, the debugger will halt.

NOTE: Be sure to clear all the debugger; when you are done with it.

More info is here

like image 133
Zafar Avatar answered Oct 03 '22 23:10

Zafar