2,981 questions
2
votes
2
answers
183
views
How to debug external program run in main function in C?
I want to add a breakpoint in the line system("/path/to/world") in VS Code for debugging the /path/to/world program with gdb.
Here is the source code of /path/to/hello.c:
int main(int argc, ...
0
votes
0
answers
45
views
Visual Studio 2022 - Breakpoints Window - Can't reduce font size - Font quite BIG
I can't seem the resize the font in the Breakpoints windows of VS
(Debug -> Windows -> Breakpoints).
I tried to tweak all the options under fonts and color:
"Tools -> Options -> ...
-1
votes
1
answer
134
views
EXC_BREAKPOINT breaking tests in Xcode 16.4
In trying to run tests on my app in Swift, I am encountering a problem. I do not have any breakpoints set, and yet, the execution of the tests is being interrupted on the line containing "throw ...
1
vote
1
answer
143
views
How can I disable Xcode's new breakpoint view?
When I hit a breakpoint in Xcode 16.0, it shows me the debugging view shown below, where each stack frame has its own little window corresponding that place in the code. However, I want the old view ...
0
votes
0
answers
59
views
Cannot Set Breakpoints in C Code – STR736FV2T6, Keil + ULINK2, Debug Symbols Not Loading
I'm working on a project using the STR736FV2T6 microcontroller in Keil µVision 5.42 with a ULINK2 debugger. My firmware builds and runs, but I can't set breakpoints in the C source code — they only ...
2
votes
1
answer
468
views
Xcode stopped triggering breakpoints
I was having a normal working day debugging an UI issue with a working env on Xcode 16.2 on simulator 18.0 iphone pro 16... was able to debug and breakpoints were working fine... after a small UI ...
0
votes
0
answers
26
views
How do I set a Visual Studio 2008 Remote Breakpoint Sound?
I'm using Visual Studio 2008 Professional, and I have it set (via Control Panel\Sound)
to play a particular sound when a Breakpoint is hit. That works just fine for debugging
Win32 desktop programs, ...
0
votes
0
answers
39
views
spy do not show value in remote debug app service
I am debuging remotly a ".net mvc web app" deployed in azure app service from Visual studio 2022, i managed to hit my breakpoints but my spies do not show any value, instead the value column ...
3
votes
0
answers
105
views
VSCode Debugger - C++ - Not working. Red dot turning to grey cirle
Hey does anyone have a fix for the VSCode gdb debugger running inside of the IDE at some point won't observe breakpoints and the red dots turn to little grey circles.
It might be good information that ...
0
votes
1
answer
64
views
Unbounded breakpoint, some of your breakpoints could not be set using tsx and express
Having a really hard time setting up a breakpoint for debugger in VSCode to a very simple express project which uses tsx. I have 3 files inside my src directory
src/app.ts
import express, { ...
0
votes
0
answers
61
views
How do I enter into a function in Python Breakpoint in the terminal?
How do I enter into a function in Python Breakpoint in the terminal? I am trying to enter into a function that I called with my code but in the terminal, PDB just goes through it, like this:
-> def ...
0
votes
0
answers
38
views
Eclipse and CppuTest hangs on unwanted breakpoint
I am using CppuTest (https://cpputest.github.io/) for Unit-Testing embedded Software Code.
CppuTest is used as a static compiled library, created by myself.
Compiler is MinGW gcc (TDM-2 mingw32) 4.4.1-...
0
votes
0
answers
31
views
VSCode Javascript Debugger does not stop at break point
Problem: I want to debug a simple js file with node.
Expected Result: THe debugger starts and stops at the break point. -> but the debugger does not stop at break-points and simply runs through the ...
2
votes
2
answers
117
views
Automate debug java with rlwrap
I use rlwrap to debug a Java process
rlwrap jdb -attach 192.168.5.55:9999
When the breakpoint stop:
> stop in comm.app.aaa.func
> set a = 0
> cont
I do that few times, each time the ...
0
votes
1
answer
2k
views
Xdebug for PHP in Visual Studio Code - how to set up and allow breakpoints
I've read most all of the posts about setting up PHP Xdebug for VS Code but no solution for me. I've installed VS Code on a new laptop (that's relevant because I know what else is installed and there ...
1
vote
2
answers
115
views
Is it possible to stop with a breakpoint at error OR warning during Matlab run with dbstop?
I use the commands:
dbstop if error
and
dbstop if warning
Is it possible to combine those conditions, to stop at either warning or error?
As far as I tried, the latter doesn't catch both.
Ideally, ...
1
vote
0
answers
69
views
Why does my script run infinitely and stops other payloads in Winforms?
Everything works fine except this script and its a really small problem. When it runs it opens a yes or no window and clicking yes makes the cd audio door open and close after 7 seconds but it instead ...
3
votes
1
answer
153
views
Using a breakpoint in a multi-threaded C# application
When you hit a breakpoint in a multi-threaded C# application, I thought that all threads were stopped.
So, I expected, when hitting a breakpoint, that I would be able to thaw other threads, but ...
3
votes
1
answer
174
views
GDB not setting breakpoint on desired line
In GDB, I am trying to set breakpoint on line 4 but it always puts a breakpoint at line 5. Even if I put break main, it puts point on line 5, whereas line 4 is the first line. Why and how can I fix ...
0
votes
0
answers
38
views
OnGetAsync is called, no error is thrown, but output is wrong, and breakpoints are being skipped
I'm trying to make some modifications to the DotNetCoreRazor_MSGraph sample project so that instead of just presenting mails, regardless of folder, it first creates the folder structure.
This is the ...
0
votes
0
answers
330
views
Setting breakpoint() in pytest breaks within called functions rather than test function itself
When I set a breakpoint in my pytest test functions, it seems to be debugging within the functions called by test rather than the test itself:
def test_my_function():
test_value = np.random.choice(...
1
vote
1
answer
108
views
How to untoggle all custom ribbon buttons except one programmatically in Excel-VBA (only works with breakpoint)?
I created a custom ribbon UI for Excel, using the Office Ribbon X Editor. On that ribbon are several toggleButtons. The XML looks like this:
<customUI xmlns="http://schemas.microsoft.com/...
1
vote
0
answers
35
views
PyCharm breakpoint in Ipython console not triggering
I have two python scripts, test_breakpoints.py and test_breakpoints_import.py (see below), with breakpoints set in PyCharm. The former script imports a function from the latter.
When using the ...
1
vote
2
answers
79
views
Alternatives to self assignment for 'breakpoint code'
I recently tried to build a project with clang and clang++. Up to now it has only been built with GCC.
One of the problems that I saw was with code that is of the following form
if (expression)
{
...
2
votes
1
answer
111
views
Breakpoints are not per project
I have two projects in the project group that use the same units.
If I set breakpoints in one, then build and run the other, the breakpoints still apply:
Can breakpoints be active for one project ...