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.

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.

External reference:

2934 questions
48
votes
7 answers

How to disable in the node debugger "break on first line"

Is there a command line argument or an environment variable that disables the "break on first line" feature of the node debugger?
Gabriel Petrovay
  • 20,476
  • 22
  • 97
  • 168
47
votes
6 answers

Can I set breakpoints to all methods in a class at once in Visual Studio?

I have 40-50 methods in a class, I want to add breakpoints to all of them. Can I add breakpoints to all of them at once?
Charu
  • 2,679
  • 6
  • 35
  • 52
46
votes
2 answers

Why do I have unknown breakpoints showing in my Markers tab?

There are two "Unknown" items in my Markers tab for "Java Exception Breakpoints". Any ideas what they are, and how I can get rid of them?
Jeremy
  • 22,188
  • 4
  • 68
  • 81
46
votes
7 answers

Is it possible to change the value of a variable during execution time?

I want to know if there is any way I can change the value of a variable during execution time, using Visual Studio 2008? I know I can do this on Eclipse (put a breakpoint, add a watcher and edit whatever variable value I want) but I didn't find…
Amokrane Chentir
  • 29,907
  • 37
  • 114
  • 158
45
votes
3 answers

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: .PhoneVisible, .DesktopVisible, etc... They also have…
FatFingers
  • 6,847
  • 5
  • 23
  • 20
44
votes
1 answer

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 have a gdb script like the following: b…
Lord Bo
  • 3,152
  • 3
  • 15
  • 22
43
votes
3 answers

Visual Studio: How to trigger an alarm when a breakpoint is hit?

Is there a way to trigger a beep/alarm/sound when my breakpoint is hit? I'm using Visual Studio 2005/2008.
Ashwin Nanjappa
  • 76,204
  • 83
  • 211
  • 292
43
votes
1 answer

Creating breakpoint in Xcode for unrecognized selector

Is it possible to set the breakpoint in Xcode to have the debugger stop only on unrecognized selector? I have other exceptions that are triggering, and I only want to trigger on the unrecognized selector exception, nothing else.
AWF4vk
  • 5,810
  • 3
  • 37
  • 70
43
votes
6 answers

data breakpoints in java/eclipse

when developing C++ with VS you have this amazing feature of data breakpoints, which trigger when the data at a certain address in memory changes. is there a similar feature when developing java in eclipse? thanks! edit: about the "suspend when…
clamp
  • 33,000
  • 75
  • 203
  • 299
42
votes
6 answers

How do I clear all Firebug JS breakpoints?

I seem to have a strange Firefox/Firebug issue where Firebug is suspending JS due to invisible/corrupt breakpoints. (Firefox 3.6.17, Firebug 1.7.2) This may or may not be related to jQuery (version unknown). Since Firebug keeps a persistent list of…
Roger Halliburton
  • 1,965
  • 3
  • 14
  • 18
42
votes
12 answers

Android studio gradle breakpoint No executable code found at line

I am developing an android application using Android Studio 2.1.3 and gradle. The problem is that the breakpoint in a simple method is never hit, although it must be hit because the condition is met during application debugging. First, I thought…
XMight
  • 1,991
  • 2
  • 20
  • 36
42
votes
3 answers

How can I see all breakpoints in Visual Studio 2013?

I can toggle breakpoints for any line, but I could not see the list of all breakpoints (Breakpoints window). When I go menu Debug → Windows → ... It does not show me Breakpoints window. Am I missing something?
Teoman shipahi
  • 47,454
  • 15
  • 134
  • 158
42
votes
2 answers

How does a breakpoint in debugger work?

Breakpoints are one of the coolest feature supported by most popular Debuggers like GDB. But how a breakpoint works ? What code modifications does the compiler do to achieve the breakpoint? Are there any special hardware features used to support…
Shan
  • 5,054
  • 12
  • 44
  • 58
42
votes
8 answers

unable to set breakpoint in intellij

I am trying to set breakpoints, nothing happens for couple of classes that I compiled recently with "mvn install". I am able to set breakpoints to classes which were already built by someone else. Please let me know if anyone knows how to solve it.
user1796650
  • 951
  • 1
  • 7
  • 11
41
votes
3 answers

How to automatically set breakpoints on all methods in Xcode?

How do I automatically set breakpoints on all methods in Xcode? I want to know how my program works, and which methods invoke when I interact with the user interface.
Matrosov Oleksandr
  • 25,505
  • 44
  • 151
  • 277