Questions tagged [breakpoints]
A breakpoint is a mechanism offered by a development environment that allows to interrupt and suspend the execution of a program for debugging purpose, in view of resuming the execution.
2,825
questions
0
votes
1
answer
15
views
How can I set breakpoints at return of a function with regex
I know I can use
br set -X foo -p return
to set breakpoints on a function foo's return. But I'd like to combine this with regex like so:
break set -r "\.MyClass\.foo.*" -p return
But in ...
0
votes
1
answer
21
views
Dart debug, how to save and load breakpoints?
I'm running dart with this command:
dart run --pause-isolates-on-start --observe --enable-vm-service=8181/0.0.0.0
With this command, can open on browser the dart native user interface to debug on
...
-1
votes
0
answers
38
views
CSS breaking between screen sizes
I am trying to figure out at what exact screen size the css is breaking for customer-testimonials section (screenshot for reference).
I checked for this problem in Safari Developer tools for both ...
0
votes
1
answer
18
views
Unbound Breakpoints?
I've been having trouble running some breakpoints after my code is built and ran. My project is on ASP.NET. I'm using VS 2022 and so far I have tried the following things:
Restart VS and delete all ...
0
votes
1
answer
38
views
Cout trigger breakpoint when i try to print something which is not a string
I trying to build fft function in c++.
I realized there are errors in the process so I wanted to print each step on it's own.
When I try to do cout to everything that is not a string it trigger a ...
0
votes
0
answers
16
views
GDB Breakpoints: When Does the Program Stop?
I know that in GDB,
break *address
places a break point at the specified instruction address, but when I run the code, does the program stop before the instruction address or after the instruction ...
4
votes
1
answer
64
views
How to force GDB to start number breakpoints at 1
How can I force GDB to start its numbering of newly added breakpoints at 1, after I have deleted all breakpoints with the delete command?
I'm using this version of GDB: GNU gdb (GDB) 8.0.50.20171024-...
0
votes
0
answers
16
views
changepoints with non time-series data
I have a data set where I am interested in changes in lambda over time but I have years since detection as my x axis instead of a traditional time series date variable. I have tried running it in ...
0
votes
2
answers
43
views
Is there a way to set breakpoints in Cypress tests?
Like the title says. I've recently gotten a hold of a Cypress codebase that I need to convert into Playwright. I'm new to both Cypress and Playwright but have experience using other automated testing ...
2
votes
1
answer
36
views
VS Code Debugging problems after last update (1.69.2)
After the last update of VS Code to version 1.69.2 i am not able to debug my nodejs - express, project. I am getting unbound breakpoints when i am adding them. My launch.json file :
{
"...
0
votes
0
answers
19
views
How can I Jump/Go Back to the Breakpoint When I Debug? (in STS)
I want skip/jump some part of code block and go back to the breakpoint when I debug the code. In Visual Studio Code, it was possible. Is there a way to do it in STS?
Code Example;
public static void ...
0
votes
1
answer
22
views
How I can make gdb print all breakpoint executions without stopping on them?
Use case: I want to research program execution by reading breakpoint hits. Hits count is more than 100.
I can't use continue 1, because hits count is too large. I can't use continue <some big ...
0
votes
1
answer
22
views
Module Federation Plugin and Responsive layout
I'm start using Micro Frontend with Module Federation Plugin . Now i faced with some issues. One of my remote App have a Responsive layout. I implement breackpoints from MUI. When app works in ...
0
votes
1
answer
46
views
Visual studio code python break point never works with Attach to Python Functions
Visual studio code python break point never works with "Attach to Python Functions" but works fine with "Python: Current File". I have tried below steps nothing works
Stop VS Code ...
0
votes
0
answers
15
views
Debugger crashes - Process finished with exit code -1073741819 (0xC0000005)
I had hoped, updating would solve the problem, but still the debugger crashes at certain breakpoints. Some breakpoints seem to work, some make it crash.
If I mute breakpoints, everything works fine.
...
0
votes
0
answers
27
views
Debug python code launched from another python script in neovim
I am trying to move from pycharm to neovim.
And I am searching for one feature pycharm is able to do somehow (magically).
I have master python script that launches another script as an external ...
1
vote
1
answer
35
views
How can I configure VS Code to break on any exception in a Rails application? (Using ruby-debug-ide and debase)
I've set up the ruby-debug-ide and debase gems in my Rails application so that I can use VS Code's built-in debugging tools.
During development, I would like any exception to trigger a breakpoint and ...
0
votes
0
answers
18
views
Is there a way to make Charles Proxy Breakpoints trigger on Body query hits?
I am going over multiple apps from my company and checking with the help of Charles Proxy if they send data we wouldn't want them to (device names & ID and other kinds of IDs).
I have had success ...
-2
votes
0
answers
20
views
Why isn't my <nav> showing up on screens for mobile devices?
My navbar isn't showing up on mobile devices (widths less than 500px), and I'm not sure why. What is the CSS function that prevents certain objects from being on screens of particular heights and ...
1
vote
1
answer
109
views
How to use breakpoints from MUI?
I want to make my project responsive by using MUI breakpoints, but I don't get how to use them in a simple way, I think creating a const styles as they explained in their documents is not a simple and ...
0
votes
0
answers
38
views
Pycharm: detect when dict is trying to be hashed
I am working on a complex multithread program in Python3. When running for a long time, I sometimes get an exception because somewhere in the code a dict is tried to be hashed.
I have tried running in ...
1
vote
0
answers
18
views
Hollow Breakpoint in Visual Studio
I found all the breakpoints within the method BLE_Setup void are hollow when using the visual studio 22. Does anybody know why and Does anybody know how to debug into an asynchronous method?
...
0
votes
1
answer
30
views
Trouble using multiple CSS media queries
My code is below. At the end of this CSS file, I've used two different media queries as break points for two different screen sizes. However, only the first is taking effect. The second has no effect ...
0
votes
0
answers
22
views
Is it important to write ascending or descending when using Fixed-range breakpoints in Tailwind CSS?
Here is my tailwind.config.js file , I have no problems in breakpoints but my teammate has problems in breakpoints like 767px and the browser will apply the styles from both "sm" and "...
1
vote
0
answers
42
views
Break on a failing unit test Assert
I am using Microsoft Visual Studio Community 2022 (64-bit) version 17.2.4 with MSTest.TestFramework and TestAdapter version 2.2.10. When I start a test in debug mode, I would like it to break when a ...
0
votes
1
answer
20
views
Xcode Breakpoint and LLDB - How do I open a file (e.g. in Preview) from a given fileURL stored in a variable?
I have a variable in Swift code that runs in iOS simulator and contains an existing fileURL. I want to have the file opened in macOS (not the iOS Simulator) when I hit a breakpoint.
I added an action &...
0
votes
0
answers
31
views
How do Python multiprocesses use breakpoints
I am trying to debug one of my multi-process programs in Python 3.7, when the sub-process started, IDE is unable to hit any breakpoints. I need to debug multiprocess and check the param's value. I ...
0
votes
0
answers
27
views
How to find exact exception type/code where Visual Studio 2019 stopped?
I am using Visual Studio 2015 Professional Version 14.0.25431.01 Update 3 to debug some code. I have indicated that it must stop when an Access Violation exception (0xc0000005) occurs. I noticed ...
0
votes
0
answers
20
views
Variable not showing nor the php code is debug ...why? [duplicate]
why can't my PHP code in eclipse is not showing variable details after debugging with xdebug even after using breakpoint and whenever I click on debug, it will always be stuck at launching a new ...
0
votes
1
answer
214
views
Xcode breakpoints: dotted blue outline
I'm attempting to debug some code in Xcode. When I enable a breakpoint in the Xcode file's gutter, it shows up as a dotted line outline of the normal breakpoint:
I can't enable the breakpoint; it's ...
0
votes
1
answer
23
views
Does GDB guarantee that one thread won't run more than specified after switching to another?
Let's say I'm debugging a multithreaded program with GDB.
I stopped on a breakpoint in one thread; thread I enter next 3 (or step 3 or smth similar); at this time the other thread hits a breakpoint, ...
0
votes
0
answers
46
views
VS Code Python debug Multiple files - while stopping at breakpoint shows blank file and not the original file with breakpoints
I have a python project that has multiple python files. A function from one file may call a function from another and so on so forth. I have 2 issues, when I put breakpoints they work well in the 1st ...
0
votes
0
answers
56
views
How to add extra breakpoint in Bootstrap 5?
I upgraded from Bootstrap 4 to 5 in a project. The BS4 project has an extra breakpoint. In BS5 it no longer works as expected.
What is the correct way in Bootstrap 5 to add an additional custom ...
0
votes
1
answer
29
views
Wordpress elementor - Listing grid slider - breakpoint bug
Not sure why that happend - even having my breakpoints on 1024/1025 (tablet/desktop) - listing grid SLIDER(because only slider catches bug) breakpoint is 1014/1015 (tablet/desktop). First time this is ...
0
votes
0
answers
41
views
In Keil's debug mode, how to stop on the line where an global variable was changed?
I am using Keil to debug my code.
A bug happens because a global variable was changed unexpectedly, so I am trying to find the line where the global variable was changed.
But I've no idea how to set a ...
3
votes
1
answer
39
views
Tailwind Applying Md Breakpoints at 375pixel Screen Width
Tailwind is incorrectly applying styles. On a mobile device the height of the div should be using the default of h-4/5. However, on a screen width of 375p the md:h-3/5 is being picked up.
0
votes
0
answers
27
views
The writing memory is done when I restart my STM32F030CC microcontroller
I will try to explain my situation.
First, when I program my STM32F030CC microcontroller nothing happens.
I have to unplug the power supply of my card and put it back in order for it to start.
Knowing ...
0
votes
0
answers
14
views
How does code editor(e.g. VSCode) changing breakpoint's position when editing?
I have a question about how does the breakpoint work in text editor. That is when you add a breakpoint, and add/delete new lines above, the breakpoint will follow the line.
What is the algorithm to do ...
0
votes
1
answer
25
views
Breakpoint when encountering RunTimeWarning
I am having trouble getting the following code to work in Python:
for t in range(-5,5):
try:
a = np.log(t)
except RunTimeWarning:
breakpoint()
What I want is to execute the ...
-1
votes
1
answer
70
views
do I need to restart server after hitting breakpoint every time? (IntelliJ, Java 11) [closed]
I am currently working on a large code that will take a long time to run again. When I put breakpoint in the code and the code stops, do I need to restart the server every time? I have to troubleshoot ...
0
votes
0
answers
24
views
How to set data breakpoint from within C++ code on android?
I have the following problem:
I need to set breakpoint on writing to some memory region. There is a string in that region, and it is somehow corrupted, I need to find how. Memory is allocated multiple ...
3
votes
0
answers
309
views
Debugging with Xcode 13.4 hanging forever
Do you also have any difficulties while debugging with Xcode 13.4. Most of the time it hanging/stuck at break point. I always have to stop(need to hit stop button at least 10 to 12 times) and run ...
0
votes
1
answer
25
views
How do I debug separate code blocks in RStudio?
R kernel requires the file to be 'sourced' before any breakpoints can be activated - meaning you have to effectively execute the whole script in the console first. This only is acceptable if your ...
0
votes
0
answers
50
views
Breakpoint does not get triggered in VS Code
I set a breakpoint on the function tuplecontains in Objects/tupleobject.c.
Then I run make -s -j2, ./python.exe, 1 in (1, 2, 3)
But the breakpoint does not get triggered.
How do I trigger the ...
0
votes
1
answer
39
views
PyCharm: break on built in function (such as `print`)?
How can I make PyCharm break on built in function, such as print?
I've jumped to print's "Declaration" with Ctrl-B, and got to a PyCharm stub file: C:\Users\Zvika\AppData\Local\JetBrains\...
0
votes
0
answers
17
views
Breakpoints in Parallel Processes behave abnormally?
I am developing software for a legacy computer system that has several independent computer racks that are all in communication with each other. When building each of the executive processes on each ...
0
votes
0
answers
40
views
Why is my R browser() function not debugging my shiny app?
I am currently trying to debug my shiny app using the browser() function or creating breakpoints in the code.
Does anyone know why this is not workin on my version of R when it was working previosuly
...
0
votes
1
answer
73
views
GDB set breakpoint in function offset
I can set breakpoint like
b some_function
But hiw can I put a breakpoint in offset 0x10 of this function
b some_function +0x10
Or
b (some_function +0x10)
Doesn't work
2
votes
0
answers
71
views
Put a breakpoint in shared library with GEF GDB
I want to put a breakpoint in a Linux share library in specific offset ( in libTest.so in function 0x1234 ) while I debugging with GEF GDB. But I want to put it with gdb script.
If I run vmmap ...
0
votes
0
answers
247
views
VS 2022 debugging: Sometimes works, sometimes get "breakpoint cannot currently be hit, no symbols loaded..."
I have a .Net web project that I publish and then attach VS to w3wp.exe for debugging. I place breakpoints, load the specific web page being modified, and debug... over and over. This works fine for ...