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.
0
votes
1answer
81 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
141 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, ...
2
votes
1answer
202 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
64 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
81 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 ...
-1
votes
1answer
200 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 ...
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 ...
4
votes
2answers
222 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 ...
4
votes
2answers
1k 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 ...
20
votes
5answers
1k 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 ...
0
votes
2answers
72 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 ...
7
votes
5answers
250 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. ...
1
vote
3answers
252 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 ...
0
votes
2answers
132 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
110 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
843 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 ...
2
votes
6answers
417 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 ...
1
vote
1answer
80 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 ...
4
votes
4answers
401 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?
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 ...
5
votes
2answers
560 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 / ...
2
votes
1answer
131 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 ...
12
votes
6answers
626 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 ...
1
vote
2answers
119 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 ...
8
votes
3answers
281 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).
...
1
vote
2answers
94 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
375 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
275 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
vote
2answers
94 views
Any success stories about using slicing tools to help debugging
Program slicing is one of those software technologies where there is much more activity in the research community than in the industry community. Does anybody outside of the research community using ...
-1
votes
3answers
232 views
Why do you have to manually type variable names while debugging?
I've seen this in a lot of IDEs (even in the most popular and heavily used ones, like Visual Studio): if you want to watch a variable's value, you have to manually type its name in the Watches section ...
8
votes
5answers
330 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 ...
4
votes
2answers
284 views
I have a stacktrace and limit of 250 characters for a bug report
I'm developing an xbox indie game and as a last-resort I have a try...catch encompassing everything.
At this point if an exception is raised I can get the user to send me a message through the xbox ...
18
votes
13answers
1k views
Becoming a Better Bug-Fixer
I love being a programmer. There, I said it. However, with that said, I've realized lately that I really can't stand bug-fixing. At all.
In fact, while I'm developing something, my productivity is ...
0
votes
1answer
132 views
Does branch mapping design software exist, useful for visualizing code while debugging? [closed]
I'm looking for a piece of software where I can basically draw branches, almost in a tree structure and have headings and text for each node.
While stepping through legacy code I often find myself ...
2
votes
2answers
120 views
Syntax tree dump format
When writing a compiler, it is useful to include the ability to dump the abstract syntax tree in a human readable format, for debugging purposes. This output might also be useful for other tools like ...
36
votes
16answers
3k views
How to check or assess debugging skills of a person?
What kind of skills determine a person that is capable of debugging code with ease? Some time ago my friend carried out an interview with a relatively good programmer. The programmer got hired. He ...
-3
votes
4answers
258 views
What are good strategies in C for dealing with pointer errors of this type?
In C, I often come across errors with code like this
prio_queue->head[index] = newEntry;
Yields a " "Cannot assign Entry** to Entry* "
How do you prevent/debug errors of this type, in general? ...
3
votes
6answers
608 views
How can I debug a memory leak in a service
I have a windows service program that is running on one of our servers. It has a memory leak of some kind within the program. When it first starts running it is using 20,000k memory. Within a few ...
17
votes
10answers
983 views
Is it possible to speed- read code well?
Sometimes we have huge code listings to deal with, and I'm curious as to how the advanced, highly skilled programmers read code. And I'll say with an emphasis on debugging and finding issues.
25
votes
13answers
1k views
Does the use of debuggers have an effect on the efficiency of programmers? [duplicate]
Possible Duplicate:
Are debugging skills important to become a good programmer?
I'm a young Java developer and I make a systematic use of the Netbeans debugger. In fact, I often develop my ...
8
votes
3answers
2k views
How to debug/change Java code while the program is running?
I just saw a video showing how Notch (of Minecraft fame) is debugging and changing Minecraft while it is running. He pauses the game, changes something in the code and then unpauses the game where the ...
6
votes
7answers
361 views
What should I learn more about debugging?
To debug my programs I mainly use the following methods:
Use printf (or equivalent in other languages) to check the value of a variable after a particular statement or to check whether the program ...
14
votes
11answers
782 views
Is it significantly costlier to fix a bug at the end of the project?
In a blog post by Andrew Hay, the following axiom was posited:
It costs significantly more to fix a bug at the end of the project that it does to fix the same bug earlier in the project.
...
3
votes
2answers
519 views
Never written much unit tests, how can I practice more of it?
I have an interview coming up soon next week and there's a few things on their list of responsibilties for this software development job (the job position title is vague, it says java developer) that ...
2
votes
2answers
354 views
Debug multiprocessing in Python
What are some good practices in debugging multiprocessing programs in Python?
0
votes
2answers
195 views
How do you find errors related to undeclared variables in php?
If I copy a piece of code from somewhere that looks like so
$blah = array(1,2,3,4);
foreach ($blah as $i)
echo ($i);
and rename the variables but forget to do it correctly like so
$apple = ...
3
votes
4answers
830 views
What is a practical way to debug Rails?
I get the impression that in practice, debuggers are rarely used for Rails applications. (Likewise for other Ruby apps, as well as Python.)
We can compare this to the usual practice for Java or ...
6
votes
6answers
633 views
What's a good approach to adding debug code to your application when you want more info about what's going wrong?
When our application doesn't work the way we expect it to (e.g. throws exceptions etc.), I usually insert a lot of debug code at certain points in the application in order to get a better overview of ...
4
votes
1answer
119 views
Is it okay to call exception-triggered debugging “post-mortem debugging”?
I heard the term "post-mortem debugging", and Wikipedia says it's debugging done after the program has crashed.
I often debug Python apps using a debugger that stops execution once an ...