Most anwered "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?
-
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…
-
0
votes4
answers512
viewsDebug applications in Nodejs
What are the best tools to be used in debugging applications?
-
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…
-
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…
-
1
votes4
answers658
viewsDebug showing variable name and value?
Often when I need to debug the value of a variable at runtime I use the print(). But when there are many variables, I need to identify the variable name along with the value. In this way, the print…
-
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…
-
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,…
-
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…
-
1
votes3
answers73
viewsHow to debug code with Object Initializer format
Following some good practices that Visual Studio itself recommends, we cannot debug values of an object one by one using the "Object Initializer" or "Object Initializer". How best to get around this…
-
1
votes3
answers5808
viewsProblem running Visual studio debugger
I have a problem in my project, I use ASP.NET MVC 5 and for a while I get this message whenever I run my project, the problem is not the visual studio installed on the machine(as in that solution)…
-
0
votes3
answers2202
viewsTest an App on android. React Native
Hello, my laptop doesn’t have the option to activate virtualization, so I need a way to test an app I’m doing. Does anyone know a way for me to do this on my own smartphone?
-
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()?
-
2
votes2
answers758
viewsEclipse Debugger does not advance on Android application
I’m having a problem trying to debug an Android application in Eclipse. When I press F5, F6 or F8, simply the break point line does not pass to the next instruction (line), it is stopped. I had…
-
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…
-
2
votes2
answers2566
viewsNetbeans Xdebug Does Not Work
I am trying to use Netbeans Xdebug. I mark the line, and then click on "Debug File". However, nothing happens to me! Do you have any specific settings I should do? When I do this, in the right…
-
1
votes2
answers385
viewsHow to make cmd slower
Is there any command for the cmd run a program I have run from the compiler? I would like to debug what I did and, as I often fall into infinite loop, I want to know if you have how to do the cmd…
-
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…
-
2
votes2
answers1047
viewsError while running project in Visual Studio
When I run a project in Visual Studio it shows the following error: A first chance Exception of type 'System.Data.Sqlclient.Sqlexception' occurred in System.Data.dll Code using System; using…
-
2
votes2
answers6461
viewsError opening emulator in Android Studio
I have an error here in Android Studio when I go debug the App in the emulator, it does not open and the following error appears: "ERROR: x86 emulation Currently requires hardware Acceleration!…
-
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…
-
2
votes2
answers115
viewsError activating WP_DEBUG
I’m having a problem on my site in Wordpress. When I define in the wp-config.php, my site gets normal: define('WP_DEBUG', false); But when I define define('WP_DEBUG', true); The site gives page…
-
5
votes2
answers761
views -
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…
-
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…
-
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…
-
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…
-
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…
-
2
votes2
answers191
viewsNodejs debug using visual studio code
I’m using Visual Studio Code and I’m not able to debug a nodejs for it. If I put one breakpoint anywhere in my app.js and start debug, it works, but when I already have it in the browser and switch…
-
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?
-
1
votes2
answers136
viewsWindow in visual studio when debugging method
I’ve been dealing with some very robust methods that alter or insert data into several tables. It is time consuming to debug and map all tables that are affected by routine. Is there a window like…
-
0
votes2
answers347
viewsLazarus Debugando
In Delphi in debug mode I can check the value of a field, for example: if Edit.text = '' then If you hover over Edit I will be able to visualize the value of the field. How do I do this in Lazarus?…
-
2
votes2
answers4736
viewsAndroid Studio 3.0 Update Error
Good today appeared an update to Android Studio and as always put to update normally. When I finished updating I asked to download some versions of Radle and things like that, I just installed it to…
-
-1
votes2
answers185
viewsVisual Studio Code - Debug by Chrome
Hello, I’m trying to debug my code angular of visual studio code with the extent debbuger for chrome, but it does not enter in mine breakpoint never, that including this gray and written unchecked.…
-
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…
-
2
votes2
answers69
viewsI can’t debug imported module in project in Visual Studio Community 2019
I’m using version 16.7.5 of Visual Studio Community 2019 where I’m implementing for the first time a pyproj (Python version 3.8.3) in a virtual environment env. I installed the library…
-
2
votes2
answers221
viewsMy vscode does not execute code in "output", but in the console debug
I’m learning to code in Javascript (Cod3r’s WEB Development Course by Udemy) and I’m having a lot of problems with Visual Studio Code, which I’ve been postponing for not being able to solve. The…
-
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.
-
4
votes1
answer112
viewsError while trying to observe the contents of a variable or property of an object in the 2013 VS Bugger
Practically 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…
-
8
votes1
answer426
views -
4
votes1
answer107
viewsDebug Java in Eclipse, excluding classes/packages
My 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 -
2
votes1
answer149
viewsProfiling php (debug + run time)
Someone uses php code Profiling, other than with zend studio? The problem of zend studio is the license... but it is very good this functionality, there is something open source that is not as…
-
1
votes1
answer228
viewsSwipe to the right after left gives ANDROID error
I am creating an application on Android in Eclipse with 3 screen with Swipe horizontal, in the last tab I have a Map Fragment. But it turns out that when doing Swipe to the right the first time…
-
1
votes1
answer336
viewsDebug/running non-stop server
It is possible to stop an execution that is in debug at the time of breakpoint without stopping the server? I don’t want the debug continue because I know you’re wrong, for example I want you to…
-
1
votes1
answer502
viewsWindows Immediate Window is gone
Window Immediacy Windows disappeared and I can’t restore it anymore. The condition does not appear in the Edit Menu of Visual Studio 2010.
-
4
votes1
answer107
viewsTwo different builds same source Visual Studio
I 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…
-
2
votes1
answer426
viewsHow to debug in Code::Blocks using the VS 2010 Express compiler
I am using the Visual Studio 2010 Express. The problem is that Syntax Highlighting is very weak and the intellisense (feature that shows the attributes of objects in how much "you" type) also leaves…
-
4
votes1
answer358
viewsDebug javascript Visual Studio 2013
I 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…
-
2
votes1
answer59
viewsHow to check on the console for open websockets connections?
I was analyzing how Stackoverflow checks for updates on the question list, but nothing appears on the console (Firebug), so I’m guessing they’re using websockets. Then I came up with a question: is…