Most voted "debug" questions
Debugging is a methodical process of finding and reducing the number of errors or defects in a software, providing it with the expected behavior. Use this tag for debugging tools or for the process itself, and not for any problem preventing the program from working.
Learn more…156 questions
Sort by count of
- 
		29 votes9 answers30430 viewsHow to debug code in PHP?For example, in javascript we have the console.log to debug, find out where the bugs are, etc. And in PHP, which ones would be best manners? 
- 
		22 votes1 answer28962 viewsHow to use debug in Eclipse?I’m having a very annoying problem with a java.lang.Nullpointerexception error and I wonder if with debug it shows which element is null, rather than just which line is the error. 
- 
		15 votes2 answers7415 viewsWhy use error_reporting with display_errors and display_startup_errors?I’ve been using only for a long time: error_reporting(E_ALL|E_STRICT); To debug scripts (note that I use E_STRICT only to maintain compatibility with older versions of PHP), but I noticed that other… 
- 
		15 votes1 answer2776 viewsWhat is the difference between testing and debugging?In the book "Introduction to Software Testing" of Ammann & Offutt mentions in p.32 the 5 levels maturity models of software testing: Level 0 - No difference between testing and debugging. Level… 
- 
		15 votes5 answers1048 viewsWhat is the use of knowing how to debug a code in R?According to the theory, debugging can be defined as the art and science of correcting unexpected problems in your code. What is the usefulness (for a data analyst) of knowing thresh a code? What… 
- 
		12 votes2 answers396 viewsIs there a function to display the defined variables?There is a way to give a "var_dump" in all instantiated variables in that context, without having to put each one inside the var_dump()? 
- 
		11 votes4 answers1866 viewsHow do Stringbuffer() and Stringbuilder() behave?Problem and Mystery: StringBuffer y = new StringBuffer("Eduardo"); I’m wearing a StringBuffer, because I need to add some values later to it. I was debugging and noticed that there is a blank at the… 
- 
		10 votes1 answer4477 viewsWhat does Traceback mean?When creating some basic programs in Python, I occasionally come across errors that bring the word traceback, so I was curious to find out what traceback means. 
- 
		10 votes2 answers216 viewsWhat are the correct tools to debug Javascript code for viewing in the Browser?Recently, looking at a question here from Stackoverflow, I noticed a user comment that said console log. and the Alert were not correct ways to debug Javascript codes. This question left me… 
- 
		9 votes1 answer3112 viewsDebug and Release mode in Visual Studio, what is it for?In my Visual Studio I’ve noticed that there are two configurations that I can’t understand what they’re for, it’s them Debug and Release, is part of the option Solution Confugurations. Could someone… 
- 
		9 votes2 answers228 viewsIs there any functionality similar to Assert (affirmations) in C#?In languages like Python there is an assertion mechanism (assert) which aims to state whether an expression is true and, if there are failures, throws an exception. In most cases, I think it’s best… 
- 
		8 votes1 answer426 views
- 
		8 votes2 answers6076 viewsHow do I set up Visual Studio Code to open the console in a new window?In previous versions of the Visual Studio Code was opened in a window outside the Visual Studio Code, but in the new versions this screen of Console started to be opened inside the Visual Studio… 
- 
		8 votes1 answer147 viewsGCC compiler command to display #ifdefWhat compiler command do I use to display this line at runtime? #ifdef DEBUG double tInicio_=clock() ; #endif 
- 
		8 votes1 answer156 viewsWhat are symbols in the . NET Framework?How do symbols work in the . NET Framework (and other platforms)? How do they make it possible to debug application even without having the source code on the machine? What is your relationship with… 
- 
		6 votes3 answers10752 viewsHow to debug a website on mobile devices?I’m developing a website that, although it looks good on the desktop, is getting deformed when accessed via mobile devices. Specifically, some problems occur when using the browser Android standard,… 
- 
		6 votes2 answers265 viewsWhat is the procedure for debugging a "runstack", Javascript or Php via the Aptana browser or IDE?When we develop a code, it runs on a stack of instructions. Is there any way, through the browser or an IDE, where we can track step by step the processing of the code, and see to what extent it was… 
- 
		6 votes1 answer1949 viewsWhat is the difference between Debug and Release?I started having the error: "Microsoft C++ Runtime error library". And I got many problems trying to fix this error. I was using Qt Creator with mingw32 in mode debug, but I realized that this mode… 
- 
		6 votes2 answers1041 viewsWhat is the difference between "step over" and "step into" in Debugger mode?I wonder what the difference is between F10 (step over) and F11 (step into). When should I wear F10 and when to use F11? 
- 
		6 votes1 answer495 viewsHow to filter logcat by command line?I was reading the android documentation and saw that it is possible to monitor logcat by command line, without necessarily having the IDE open. I installed a minimalist version of ADB (only what is… 
- 
		6 votes1 answer135 viewsIs the assembly code of a compiled program different from what was written?I compiled this Assembly code global _main extern _printf section .text _main: push message call _printf add esp, 4 ret message: db 'Hello, World!', 10, 0 when I went to give u dump in code Assembly… 
- 
		5 votes1 answer361 viewsBack debug lineIn the old Visual Basic if you were on debug step-by-step and unintentionally pass a line I wanted to check, there was the option to go with the cursor to the line above and press the key… 
- 
		5 votes2 answers761 views
- 
		5 votes1 answer153 viewsWhy use __debugInfo()?I saw that PHP 5.6 has now created the new magic method called __debugInfo. This method aims to return a array, which will be printed in the var_dump. That one array returned obviously must offer… 
- 
		5 votes1 answer2888 viewsIn Python is there a debug function equivalent to "print_r" or "var_dump" in PHP?In Python there is some function for debug equivalent to print_r or var_dump of PHP? For example, in PHP: $valor = 'Hello'; var_dump($valor); string(5)'Hello' In Python would have some similar… 
- 
		5 votes3 answers1740 viewsHow do I know how much memory my application uses in PHP?I wonder if there is any way to know how much my PHP application is consuming memory. For example: I want to know, at the end of the script execution, how much PHP spent on the execution process of… 
- 
		5 votes1 answer58 viewsHow does a historical debugger work?A historical debugger, or Historical Debugger, is able to collect key data from a debugging session, such as locals/autos (in the case of Intellitrace), exceptions and events of the session. I… 
- 
		5 votes1 answer1694 viewsThe 'Oraoledb.Oracle' Provider is not Registered on the local machineI have a problem that is limiting my work, it is the following, I created a Webservice with a connection string to an oracle database : OleDbConnection con = new… 
- 
		5 votes1 answer3822 viewsWhat is debug? What is it for and how to do it?People while I am programming always see in the IDE’s a part called debug, I don’t really know how it works and what it’s for exactly since I don’t know if it looks like code editing but I believe… 
- 
		4 votes2 answers5558 viewsIs there any way to disable Delphi’s "Debugger Exception Notification"?I would like to disable the function from which Debugger notifies me of an Exception in a code snippet. Example: try Text := CurrToStrF('Erro', ffNumber, 2); except Text := '0,00'; end; During the… 
- 
		4 votes1 answer112 viewsError while trying to observe the contents of a variable or property of an object in the 2013 VS BuggerPractically every time I try observe the contents of a variable or property of an object, I get the error below: Function Evaluation disabled because a Previous Function Evaluation timed out. You… 
- 
		4 votes1 answer107 viewsDebug Java in Eclipse, excluding classes/packagesMy application uses JSF/Hibernate, and a number of other add-ons (jar). When I have to thresh, a page, he stops at breakpoint and after a few Steps (debug) it falls inside the jar of the JSF. You… 
- 
		4 votes1 answer359 views
- 
		4 votes4 answers395 viewsHow to Debug only one project in Visual Studio?I have six C# web projects inside a Solution in Visual Studio 2010, when running debug, Visual Studio launches the six projects at once, each of them in a different process. I wonder if there’s like… 
- 
		4 votes1 answer107 viewsTwo different builds same source Visual StudioI have a Solution with several projects. I need to create two "profiles" of builds different for two situations. This is possible? In build A I will show the menus X, Y and Z. In build B I will show… 
- 
		4 votes1 answer358 viewsDebug javascript Visual Studio 2013I need some help please. Next I had a machine with Win 7 32bits and I was able to debug the normal javascript in Visual Studio 2013, put the breakpoint and it stopped pretty. Then I switched to Win… 
- 
		4 votes1 answer69 viewsHow to see the value of a define or macro in gdb?I have the following line of code: int a = MAX(b,c); How to verify macro definition MAX(b,c)? Sometimes, the same macro is defined in several different ways in a code (for example, depending on the… 
- 
		4 votes1 answer128 viewsWhat is the best way to follow the software flow?I have a big project, how do I follow the flow (step by step)? I have several classes and have no idea which methods are called, which classes are etc. I put a breakpoint in a point that I know goes… 
- 
		4 votes1 answer1254 viewsIDE/Text editors for Node.jsWhat are the best options of IDE or Text Editors for development in Nodejs? My need is to develop large projects with Javascript / Node.js, follows below some of the options I found. If possible… 
- 
		4 votes2 answers1090 viewsIs there any way to debug PHP via browser console?Is there any way to debug PHP via browser console? I sometimes want to debug a value on the system in production, but I wouldn’t want the user to notice. Then I got the idea to use the browser… 
- 
		4 votes1 answer87 viewsDebug with min files in AngularjsI created a task at Grunt to automatically the concat and uglify in my files .js Angular to improve performance and also to avoid inserting a new file every time I create a controller, for example.… 
- 
		4 votes1 answer312 viewsSee the values of variables at runtime?How can I know the values of the variables of an application at runtime? I want to know the value of some variables to know if the program is acting correctly. 
- 
		4 votes1 answer243 viewsRemote debugging in isolated environmentsI work at a company doing bug fixes. Some clients deploy the system to computers on their internal network, so it is not possible to debug it remotely. Customers' computers usually have Internet… 
- 
		3 votes3 answers255 viewsHow to clear the cache in Opera 12?So, I am developing with focus on Opera 12, it has a very interesting debugger, similar to Chrome, but one thing that bothers me a lot is that refresh does not clean the browser cache, often close… 
- 
		3 votes1 answer49 viewsDebug vs Release in CmakeHow to specify the flags for debug release vs C/C++. 
- 
		3 votes2 answers74 viewsIs there any way to debug through the browser to stop exactly on the line being executed?I picked up a complex code for maintenance and noticed that a table is constantly updating causing page slowness. I wonder if you have any browser options (Chrome preference), that allow me to stop… 
- 
		3 votes2 answers1301 viewsSize difference (Release/Debug)In Delphi there is Build Configurations (Release and Debug), choosing the Release the size of the executable decreases, I wanted to know what it fails to include in the Release, because the size had… 
- 
		3 votes1 answer917 viewsHow to insert a breakpoint into Javascript by codeI know it is possible to mark a line as breakpoint using Dev Tools, but it is possible to invoke the browser Debugger directly from the code? 
- 
		3 votes1 answer23 viewsAdvantages of Watch compared to Break pointSince it is possible to evaluate the value of a variable by inserting a break point where it will be used, I see no apparent advantage. Is there any advantage to using watch instead of break point… 
- 
		3 votes1 answer168 viewsHow to skip all breakpoints without removing them?Is there a shortcut/configuration to ignore all breakpoints without necessarily deleting them from the code?