Debugging is the process of examining the state of a program - generally with a debugging tool - while it is running and attempting to find bugs that cause it to behave abnormally.

learn more… | top users | synonyms

-2
votes
2answers
647 views

Debugging just my code [closed]

Is there an option in Visual Studio 2010 that would allow me not stepping into third-party library code (STL, Boost, etc.). I would like only stepping into my code.
19
votes
5answers
1k views

How did they debug segmentation faults before protected memory?

Now, when I make a programming mistake with pointers in C, I get a nice segmentation fault, my program crashes and the debugger can even tell me where it went wrong. How did they do that in the time ...
0
votes
3answers
188 views

What tools are you using to improve your professional effectiveness? [closed]

I have just finished a very nasty Web (JQuery/PHP) project where absolutely all went wrong: the client was constantly changing the requirements, and as a result there was a constant lack of time which ...
-3
votes
0answers
74 views

How to identify code or solve issue which makes browser (chrome) crash

Is there any standard practices to solve/debug issues which makes browser crash? I have been debugging my code using Chrome Javascript console. But Chrome crashes at a certain point. I do not know ...
-1
votes
1answer
220 views

Is reverse debugging possible? [duplicate]

I know there are some products for reverse debugging. I am wondering that does reverse debugging mean going to one step back or starting over again up to one step back? I've found an explanation ...
0
votes
5answers
250 views

How useful is “rubber duck debugging”? [duplicate]

I just learned about rubber duck debugging, where the programmer explains code, line by line, to a rubber duck or other inanimate object in order to find the problem. This approach sounds ...
14
votes
7answers
636 views

Bug once in a while, but high priority

I am working on a CNC (computer numerical control) project which cuts shapes into metal with help of laser. Now my problem is once in a while (1-2 times in 20 odd days) the cutting goes wrong or not ...
3
votes
1answer
132 views

Self Debuggable systems

For example, in case of GDB it is possible to debug itself by itself. I have not been able to find any JVM that can debug itself or even allows debugging on source level. I was just wondering if ...
0
votes
2answers
110 views

Testing UI for azure web app on iPad

I am working on debugging my mobile application. There is a specific requirement/issue that I am having related to a drag and drop touch interface on an iPad. I am at the trial and error phase of ...
-1
votes
1answer
117 views

What features do you want in modern debuggers? [closed]

I am trying to build a better debugger for C/C++ and hopefully for Python and Javascript. I am not too happy single stepping through various lines of code to see what got executed and what did not. ...
2
votes
2answers
224 views

How do IDE-s provide auto-completion, instant error checking and debugging? [closed]

Say you have a language compiler you would like to build an IDE for. How is auto completion, instant error reporting while writing code and debuggers commonly implemented?
1
vote
0answers
76 views

Modern analog of DDD (Data Display Debugger)

I if there are visual applications for debugging code in popular languages (like C, Pytho, Javascript). By visual I do not mean debugger with UI which is bundled with almost every IDE, I'm rather ...
6
votes
2answers
6k views

How can I debug a JSP?

I'm trying to edit a JSP for a project and I'm getting a NullPointerException somewhere in the JSP when it's requested from my server. My web server (JBoss) is reporting the exception, but it's ...
0
votes
1answer
96 views

While running an application the error occurs, while debugging it doesn't [duplicate]

There is an issue which appears while running the application. It is not an Exception, but the desired UI change is not been implemented. While debugging to find the code which should be changed to ...
0
votes
2answers
179 views

How to get better at debugging? [duplicate]

How can one become better at debugging in general? I do not mean specific tools or tactics that apply to a certain programming language or stack, but simply how to make your mind better at it, ...
22
votes
5answers
2k views

Why is reverse debugging rarely used?

gdb implemented support for reverse debugging in 2009 (with gdb 7.0). I never heard about it until 2012. Now I find it extremely useful for certain types of debugging problems. I wished that I heard ...
2
votes
1answer
214 views

Name for a bug that disappears when someone else looks at it [closed]

Does anyone know of an existing name for a bug that disappears the moment you call someone over to look at it? It's a funny phenomenon, but it has happened from time to time that I'm working on a bug ...
1
vote
1answer
74 views

How to debug through a swing based application effectively

I am trying to understand how a radio button is created in a Dynamic field by reading from an XML using Netbeans 7.0. I know the radio button is created because of the XML being read from database, ...
0
votes
0answers
86 views

Is there good online resource for basic debugging techniques? [closed]

I often find myself looking at PHP questions on stackoverflow.com where the answer is simply for the OP to do some basic debugging. eg. Put in trace statements Seperate out Variable from ...
46
votes
7answers
2k views

How do you debug without an IDE?

Every time I look for an IDE (currently i'm tinkering with Go), I find a thread full of people recommending Vi, Emacs, Notepad++ etc. I've never done any development outside of an IDE; I guess I've ...
0
votes
1answer
395 views

Fastest native C++ multi-platform compiler & IDE & debugger [closed]

If I'll begin developing cross platform applications, The complied file speed is very important for me . I have research before than and find same result about IDE : (I ignored eclipse because very ...
4
votes
2answers
364 views

What are the pros and cons of Inter process communication done via sockets vs shared memory?

I understand that two of the many more options for inter process communication can be : Shared memory Sockets Actually I saw these two options being exposed by Intellij Idea for debugging a Java ...
9
votes
10answers
506 views

Is fixing bugs made by other people a good approach?

Let's assume the situation where a team of four developers is building an application. During the testing phase, bugs are reported by users. Who should fix them? The person who committed the erroneous ...
11
votes
2answers
7k views

A good IDE for NodeJS - debugging especially important [closed]

Have a significant amount of a Data Warehousing application written in Javascript. The application is set up so that the Javascript code runs in a web browser (Chrome). Of course, running a Data ...
7
votes
9answers
536 views

How to effectively do manual debugging? [closed]

Say you don't have a debugger available, what would be an effective approach to debug code which doesn't work (as expected)?
7
votes
5answers
284 views

How to understand and debug legacy software? [duplicate]

Possible Duplicate: I’ve inherited 200K lines of spaghetti code — what now? Not long ago my company placed me in a team that deals with some of the most complex bugs that are in production. ...
5
votes
10answers
6k views

What is the difference between debugging and testing?

Introduction To Software Testing (Ammann & Offutt) mentions on p.32 a 5-level testing maturity model: Level 0 There’s no difference between testing and debugging. Level 1 The purpose of testing ...
1
vote
3answers
270 views

Programming language features that help to catch bugs early [closed]

Do you know any programming language features that help to detect bugs early in the software development process - ideally at compile-time or else as early as possible at run-time? Examples of ...
5
votes
4answers
654 views

how to start fixing bugs in open source softwares

I a student and have good knowledge in C programming and like to contribute any open source project which is developed in C. I searched sourceforge and selected 7-Zip because its widely used one and ...
0
votes
2answers
299 views

Print all values in a value object [closed]

I have to debug an issue which requires me to print all the values of a Value Object that is returned by a web service call. The Value object is a complex object in the sense, it has another object as ...
3
votes
2answers
128 views

Debugging framework for domain specific language

I want to know if there are any tools/tool-kits which aid in building source level debuggers for domain specific languages ? (I work on a proprietary DSL, which doesn't have any tools and sometimes ...
6
votes
7answers
985 views

Programming Interview : How to debug a program?

I was recently asked the following question in an interview : How do you debug a C++ program ? I started by explaining that programs may have syntax and semantic errors. Compiler reports the ...
12
votes
6answers
647 views

Debugging: understanding details on why certain fixes worked?

When debugging, I sometimes find that I make some changes and I am not 100% sure why those changes correct some bug in the program. Is it essential to understand every single detail about why some ...
12
votes
6answers
1k views

What do you look for when debugging deadlocks?

Recently I've been working on projects that heavily use threading. I think that I'm OK at designing them; use stateless design as much as possible, lock access to all resources that more than one ...
2
votes
2answers
505 views

Debug multiprocessing in Python

What are some good practices in debugging multiprocessing programs in Python?
2
votes
6answers
470 views

What are the advantages of using the Java debugger over println?

I always use System.out.println(...) to debug my code, and it works pretty well. In which cases do you use the eclipse java debugger? I never had to use it and the little bug symbol is still ab bit ...
23
votes
3answers
1k views

What is the term for a 'decoy' feature or intentional bug? [closed]

I have forgotten a slang programming term. This thing is an intentional bug or a decoy feature used as a distraction. An example usage, "Hey Bob, QA is doing a review today. Put a $THING into the ...
2
votes
1answer
139 views

How do I debug a cluster running Microsoft server 2003?

I'm sole developer of a complex critical software system, written in Visual C++ 2005. It's deployed on a classical Microsoft cluster scenario (active/passive), that has Windows Server 2003 R2. If a ...
1
vote
1answer
93 views

Good example of gprof, for iOS project

The GNU profiler gprof, can be used to profile any application right on the device, allowing real world profiling. As Xcode 4.5 based on LLVM plus it has GNU Debugger, Profiler, and others. I need ...
39
votes
8answers
2k views

Does software testing methodology rely on flawed data?

It’s a well-known fact in software engineering that the cost of fixing a bug increases exponentially the later in development that bug is discovered. This is supported by data published in Code ...
4
votes
4answers
497 views

What is a zombie process or thread?

What is a zombie process or thread, and what creates them? Do I just kill them, or can I do something to get diagnostics about how they died?
5
votes
2answers
655 views

Differences between imperative-language and functional-language debuggers

Up to now I have always worked with imperative languages like Pascal, C, C++, Java in a production environment, so I have experience with debuggers for these languages (Turbo Pascal, Turbo C, GDB / ...
10
votes
14answers
1k views

Can we guarantee a program will never go wrong?

We have a system here. Recently there is a wrong calculation in one of the number in the report generated by the system. Through out our experience, we've never encounter any problem/error in this ...
11
votes
15answers
3k views

Real programmers use debuggers? [closed]

If experienced programmers actually ever use debuggers, and if so under what circumstances. Although in the answer to that question I said "months" ago I probably meant "years" - I really don't use a ...
1
vote
2answers
121 views

How to quickly adapt to a project?

Suppose my favourite open source application has a bug. Now I want to contribute to the application by fixing its bug and submit the patch to the development team. What's the most effective way to do ...
9
votes
3answers
304 views

Are there any theories or books about how to debug “in general”?

I read and studied a lot of computer science and engineering and I rarely or never seen a book about debugging or a theory how to debug (though I surely developed some debugging theories of my own). ...
14
votes
10answers
492 views

How to teach your users/customers to send better error descriptions

I often have to deal with customers or users which are reporting errors in applications. Most of the time their content is something useless as ERROR!!! x does not work without much more ...
1
vote
2answers
101 views

Debugger for file I/O development?

Okay, the question title may be a bit cryptic. But it aptly describes what I'm looking for: I think every experienced coder went through this numerous times: You get a binary file format ...
5
votes
8answers
384 views

Bug fixing appproach

I have been working on a project comprising of databases, and I recently received a bug report for the remote execution of some queries. Usually, you try to find out the actual cause for the bug to ...
0
votes
5answers
280 views

How to become a super user (programming)? [closed]

You try a new tool and it does not work. You google the problem and if you are lucky a random answer says you need to edit some weird configuration file and place it in a specific directory you don't ...

1 2 3