462 questions
2136
votes
117
answers
1.9m
views
How do I remedy "The breakpoint will not currently be hit. No symbols have been loaded for this document." warning?
A C# desktop application (on the Visual Studio Express edition) worked, but then it didn't work 5 seconds later.
I tried the following:
Ensure debug configuration, debug flag, and full debug ...
284
votes
6
answers
228k
views
Can I set a breakpoint on 'memory access' in GDB?
I am running an application through gdb and I want to set a breakpoint for any time a specific variable is accessed / changed. Is there a good method for doing this? I would also be interested in ...
772
votes
13
answers
327k
views
How to set a JavaScript breakpoint from code in Chrome?
I want to force the Chrome debugger to break on a line via code, or else using some sort of comment tag such as something like console.break().
93
votes
3
answers
100k
views
Are "EXC_BREAKPOINT (SIGTRAP)" exceptions caused by debugging breakpoints?
I have a multithreaded app that is very stable on all my test machines and seems to be stable for almost every one of my users (based on no complaints of crashes). The app crashes frequently for one ...
152
votes
5
answers
31k
views
Debugging automatic properties
Is there any way to set breakpoint on setter/getter in auto-implemented property?
int Counter { get; set; }
Other than changing it to standard property (I'm doing it in this way, but to do that I ...
159
votes
14
answers
136k
views
How to set conditional breakpoints in Visual Studio?
Is there an easy way to set conditional breakpoints in Visual Studio?
If I want to hit a breakpoint only when the value of a variable becomes something, how can I do it?
182
votes
11
answers
440k
views
Bootstrap 3 breakpoints and media queries
On the Bootstrap 3 media queries documentation it says:
We use the following media queries in our Less files to create the key breakpoints in our grid system.
Extra small devices (phones, less ...
53
votes
3
answers
40k
views
Break on a change of variable value
Similar to other questions here, like this one.
Is there a way to break on the change of a variable value in any JavaScript debugger? (like IE Developer tools, Visual Studio, or Firebug)?
I guess it'...
244
votes
14
answers
187k
views
Break when a value changes using the Visual Studio debugger
Is there a way to place a watch on variable and only have Visual Studio break when that value changes?
It would make it so much easier to find tricky state issues.
Can this be done?
Breakpoint ...
182
votes
24
answers
97k
views
Breakpoint Failed to Bind - Visual Studio 2015
I just upgraded from Visual Studio 2013 to 2015 and now I am having trouble with breakpoints.
It's a hit or a miss where break points will actually work and if I set one while debugging I get the ...
35
votes
6
answers
9k
views
Is there any way to set a breakpoint in gdb that is conditional on the call stack?
I am debugging C++ in gdb 7.1 on Linux.
I have a function a() that is called in many places in the code. I want to set a breakpoint in it, but only if it was called from b(). Is there any way to do ...
82
votes
5
answers
35k
views
Why does my Eclipse project have phantom debugger breakpoints?
I've got a small project which, when run in the Eclipse debugger, always seems to stop in FileInputStream.class line 106, where files are opened. There are no breakpoints set, but Eclipse behaves ...
47
votes
1
answer
43k
views
gdb scripting: execute commands at selected breakpoint
I'd like to predefine some breakpoints in a gdb script and to invoke some special commands at these breakpoints and afterwards to automatically continue the program execution. So, ideally, I'd like to ...
226
votes
12
answers
35k
views
Visual Studio refuses to forget breakpoints?
Visual Studio remembers breakpoints from previous debugging sessions, which is awesome.
However, when I'm debugging, and I clear one of these "old" breakpoints by clicking on it, it's only ...
61
votes
7
answers
56k
views
How to set a breakpoint in Eclipse in a third party library?
I'm getting a NullPointerException in a Class from a 3rd party library. Now I'd like to debug the whole thing and I would need to know from which object the class is held. But it seems to me that I ...
46
votes
3
answers
101k
views
Switching CSS classes based on screen size
CSS newby here...
I'm looking at a responsive framework and imagining how I would accomplish different tasks.
Based on the size of the screen, they have classes added to the body tag such as:
....
38
votes
17
answers
63k
views
Debugging SSIS Script task - Breakpoint is enabled but it does not hit
I am working on an SSIS package. The package has a script (C# language) task. I need to debug the script task. I set the break point. The script in script editor (Visual Studio) and the task in SSIS ...
28
votes
5
answers
17k
views
Breaking JavaScript execution when cookie is set
Is it possible to break javascript execution in browser developer tools always when a cookie is set (without setting JS breakpoints explicitly)?
document.cookie = '...';
91
votes
6
answers
43k
views
How to wait until remote .NET debugger attached
Today I ran into a problem were I needed to remote-debug a program. The program was launched from another system, so I really don't have an opportunity to interact with it on the command line. I ...
158
votes
11
answers
60k
views
Getting GDB to save a list of breakpoints
OK, info break lists the breakpoints, but not in a format that would work well with reusing them using the --command as in this question. Does GDB have a method for dumping them into a file acceptable ...
57
votes
8
answers
72k
views
Can I set a breakpoint when variable is getting a specific value in .NET?
I am using Visual Studio 2010, and I know this feature is available in C++.
I need to debug some code, that changes a variable to several values. I want to debug the code in a specific case, when the ...
23
votes
5
answers
13k
views
Programmatically apply / deactivate breakpoints in Visual Studio
Regardless of other options that may achieve the same result (i.e. adding breakpoints
by hand), is it possible to programmatically add a breakpoint into the source code of a Visual Studio project?
...
20
votes
1
answer
6k
views
How to deal with the overlay Paused in debugger while automated test execution using Selenium
Everytime I try to access this website and open google-chrome-devtools I am unable to inspect any of the elements through the Inspector as the UI is having an overlay along with a message Paused in ...
15
votes
7
answers
56k
views
iPhone Device Debugging
Is it possible to actually use the Xcode debugger when running an iPhone app on the device rather than the simulator? i.e., can I have the device stop at breakpoints that I set in my code and step ...
8
votes
6
answers
9k
views
Xdebug successfully connects to DBGP clients, but won't stop at breakpoints
I have Xdebug 2.1 installed, and running with PHP 5.2.13. It can successfully connect to multiple DBGP clients (i.e. the xdebug.remote_log shows communication back and forth, and the clients ...