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

Answer from Zafar on Stack Overflow
🌐
Microsoft Learn
learn.microsoft.com › en-us › troubleshoot › developer › visualstudio › debuggers › debugger-not-stop-breakpoint
Visual Studio debugger doesn't stop on breakpoints - Visual Studio | Microsoft Learn
May 7, 2022 - This problem occurs because ASP.NET debugging isn't enabled on the application. To resolve this problem, follow these steps in Visual Studio .NET: Right-click your project from the Solution Explorer, and then click Properties.
Discussions

Debugger doesn't stop at breakpoints when running tests (but does during normal execution)
Julia 1.7.3 VS Code 1.74.3 Julia extension 1.38.2 I’m having a problem where, when I run tests with the debugger on the program I’m working on, the debugger doesn’t stop at any breakpoints I set. If I run the program normally (meaning executing a main function) with the debugger, the ... More on discourse.julialang.org
🌐 discourse.julialang.org
11
1
January 19, 2023
Debugger Doesn't Stop At Breakpoints
Environment data Version: 1.32.3 (system setup) Commit: a3db5be9b5c6ba46bb7555ec5d60178ecc2eaae4 Date: 2019-03-14T23:43:35.476Z Electron: 3.1.6 Chrome: 66.0.3359.181 Node.js: 10.2.0 V8: 6.6.346.32 OS: Windows_NT x64 10.0.17763 VS Code ve... More on github.com
🌐 github.com
7
March 20, 2019
c# - Visual Studio Code debugger doesn't stop at breakpoints - Stack Overflow
https://github.com/discord-bot-tutorial/Community-Discord-BOT The c# debugger for vscode doesn't stop at breakpoints with this specific project. I have tried creating a new project with dotnet new More on stackoverflow.com
🌐 stackoverflow.com
VSCode Breakpoint not hitting/stopping when run in debugger mode - Golang
When Start Debugging is fired, the program runs successfully. However the program doesn't stop at breakpoints. Breakpoint is enabled and placed alright. More on github.com
🌐 github.com
27
August 18, 2022
🌐
Microsoft Learn
learn.microsoft.com › en-us › troubleshoot › developer › visualstudio › debuggers › troubleshooting-breakpoints
Troubleshoot breakpoints in the debugger - Visual Studio | Microsoft Learn
September 17, 2025 - 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.
🌐
Julia Programming Language
discourse.julialang.org › tooling › vs code
Debugger doesn't stop at breakpoints when running tests (but does during normal execution) - VS Code - Julia Programming Language
January 19, 2023 - Julia 1.7.3 VS Code 1.74.3 Julia extension 1.38.2 I’m having a problem where, when I run tests with the debugger on the program I’m working on, the debugger doesn’t stop at any breakpoints I set. If I run the program normally (meaning executing a main function) with the debugger, the ...
🌐
GitHub
github.com › microsoft › vscode-python › issues › 4844
Debugger Doesn't Stop At Breakpoints · Issue #4844 · microsoft/vscode-python
March 20, 2019 - When VSCode is used to debug a Python 3.6 script I anticipate for the execution of the code to stop when a breakpoint is 'hit'. The code simply continues running as if the breakpoint wasn't there at all
Author   primalewden
Find elsewhere
🌐
GitHub
github.com › golang › vscode-go › issues › 2417
VSCode Breakpoint not hitting/stopping when run in debugger mode - Golang · Issue #2417 · golang/vscode-go
August 18, 2022 - When Start Debugging is fired, the program runs successfully. However the program doesn't stop at breakpoints. Breakpoint is enabled and placed alright.
Author   riderrocks
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 206582525-Debugger-doesn-t-stop-at-breakpoint-
Debugger doesn't stop at breakpoint. – IDEs Support (IntelliJ Platform) | JetBrains
October 8, 2014 - The breakpoints not being it appears to be related to the path encoding not being read correctly by the debugger! I hope this helps someone as I've wasted a lot of time on this ;-) ... Hi Victor, I tried your solution but doesn't help. Actually I think this problem relates to these reported issues, in my case it is because my project path contains symbolic link. Open it from a real path (without symbolic link) make Debug stop at breakpoints.
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 360009272660-IntelliJ-IDE-2020-1-2-debugger-not-stopping-at-breakpoints
IntelliJ IDE 2020.1.2 debugger not stopping at breakpoints – IDEs Support (IntelliJ Platform) | JetBrains
With this option enabled, WebStorm uses the NODE_OPTIONS environment variable to pass the debug flags to node.js processes. For some reason this doesn't work in your environment - the variable is either not set or overwritten... ... I have disabled this option and still cannot pause execution and the debugger does not stop at breakpoints by default.
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 360008107400-PyCharm-2020-1-not-stopping-on-breakpoints-anymore-
PyCharm 2020.1 not stopping on breakpoints anymore. – IDEs Support (IntelliJ Platform) | JetBrains
April 15, 2020 - When letting the program run for a little while and then add the breakpoint to line 28, you can reproduce a similar problem, where the program stops at first, but upon resuming execution it enters a deadlock behavior and freezes. Keep in mind that you might not experience the issue immediately, but need to let the program run for a few seconds before you set the breakpoint. ... Since sometime yesterday, I also have a similar issue using Pycharm Pro 2020.1.1. Namely, the debugger doesn't stop at breakpoints outside the scope of my test functions.
🌐
Reddit
reddit.com › r/vscode › vs code debug not stopping on breakpoints
r/vscode on Reddit: VS Code debug not stopping on breakpoints
June 10, 2023 -

I'm new to using VS Code as I¡ve always used Eclipse IDE. I'm trying to debug my java file in which I've created a breakpoint, but the debugger just runs the code as if there wasn't such breakpoint..

I've seen some other people struggle with this, so here's my launch.json:

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Java",
            "type": "java",
            "request": "launch",
            "stopOnEntry": true,
            "jdkPath": "${env:JAVA_HOME}/bin",
            "cwd": "${fileDirname}",
            "startupClass": "${fileBasenameNoExtension}",
            "classpath": [
                ".",
                "${fileDirname}"
            ]
        },
        {
            "name": "Java Console App",
            "type": "java",
            "request": "launch",
            "stopOnEntry": true,
            "jdkPath": "${env:JAVA_HOME}/bin",
            "cwd": "${fileDirname}",
            "startupClass": "${fileBasenameNoExtension}",
            "classpath": [
                ".",
                "${fileDirname}"
            ],
            "externalConsole": true
        },
        {
            "type": "java",
            "name": "Current File",
            "request": "launch",
            "mainClass": "${file}"
        },
        {
            "type": "java",
            "name": "Numeros",
            "request": "launch",
            "mainClass": "Numeros",
            "projectName": "progra_4bad0bd0"
        }
    ]
}

Thanks in advance

🌐
Apple Developer
developer.apple.com › forums › thread › 113886
Xcode 10 debugger stops on some br… | Apple Developer Forums
Basically, the Debugger would not Stop on the Breakpoints I enabled in the gutter in one project, but it worked fine in other projects... I finally checked the Project Scheme and noted that the project with the problem did not have the "Debug executable" checkbox selected.
🌐
Posit Community
forum.posit.co › rstudio ide
Debugger doesn't stop at breakpoint - RStudio IDE - Posit Community
August 11, 2020 - I run into the same debugger issue (post) for RStudio v1.3.1073-1 Preview. The following is the runnable example that I re-post here. It seems not solved for a long time. Save1.R and source 2.R. Then set a breakpoint at nethermost x (around Line 30) in 2.R. Run "test(2)" in 1.R. You'll see debugger does not stop at the breakpoint.
🌐
Developer Community
developercommunity.visualstudio.com › t › Program-execution-doesnt-stop-on-breakp › 1494369
Program execution doesn't stop on breakpoints when ...
Skip to main content · Visual Studio · Guidelines Problems Suggestions Code of Conduct · Downloads · Visual Studio IDE Visual Studio Code Azure DevOps Team Foundation Server Accounts and Subscriptions · Subscriber Access · Microsoft Security Azure Dynamics 365 Microsoft 365 Microsoft ...
🌐
GitHub
github.com › microsoft › debugpy › issues › 999
Python Debugger Doesn't Stop on Breakpoint · Issue #999 · microsoft/debugpy
August 1, 2022 - VSCode dbuuger doesn't stop at breakpoint. It never works when debugging Pytorch-related tool. Pdb command line works well. It's Python 3.9.12.
Author   wschin