Skip to main content
Filter by
Sorted by
Tagged with
2136 votes
117 answers
1.9m views

A C# desktop application (on the Visual Studio Express edition) worked, but then it didn't work 5 seconds later. I tried the following: Ensure debug configuration, debug flag, and full debug ...
1560 votes
22 answers
1.1m views

I have this object: const myObject = { "a":"a", "b":{ "c":"c", "d":{ "e":"e", "...
user avatar
1326 votes
43 answers
748k views

I thought there was a way to test your applications in development over Wi-Fi. Is this possible? I'd love to be able to untether my phone and develop wirelessly.
Naftuli Kay's user avatar
  • 92.6k
888 votes
23 answers
565k views

I am developing an application, and everytime I run it, I get the message: Unfortunately, MyApp has stopped. What can I do to solve this? About this question - obviously inspired by What is a stack ...
nhaarman's user avatar
  • 101k
810 votes
7 answers
683k views

Sometimes when I run my application it gives me an error that looks like: Exception in thread "main" java.lang.NullPointerException at com.example.myproject.Book.getTitle(Book.java:16) ...
Rob Hruska's user avatar
  • 121k
781 votes
13 answers
976k views

I am trying to write a message to the output window for debugging purposes. I searched for a function like Java's system.out.println(""). I tried Debug.Write, Console.Write, and Trace.Write. It does ...
previous_developer's user avatar
702 votes
14 answers
461k views

I want to look at the source code for a function to see how it works. I know I can print a function by typing its name at the prompt: > t function (x) UseMethod("t") <bytecode: 0x2332948> &...
Joshua Ulrich's user avatar
658 votes
41 answers
747k views

Quite often I will try and run a PHP script and just get a blank screen back. No error message; just an empty screen. The cause might have been a simple syntax error (wrong bracket, missing semicolon),...
Candidasa's user avatar
  • 8,740
619 votes
16 answers
584k views

I'm developing a C++ command-line application in Visual Studio and need to debug it with command-line arguments. At the moment I just run the generated EXE file with the arguments I need (like this ...
Maciej Gryka's user avatar
  • 8,431
594 votes
4 answers
401k views

I am trying to use the perfmon windows utility to debug memory leaks in a process. This is how perfmon explains the terms: Working Set is the current size, in bytes, of the Working Set of this ...
pankajt's user avatar
  • 7,904
577 votes
15 answers
561k views

In Solution properties, I have Configuration set to "release" for my one and only project. At the beginning of the main routine, I have this code, and it is showing "Mode=Debug". I also have these ...
NealWalters's user avatar
  • 18.5k
528 votes
35 answers
470k views

What would cause a page to be canceled? I have a screenshot of the Chrome Developer Tools. This happens often but not every time. It seems like once some other resources are cached, a page refresh ...
styfle's user avatar
  • 25k
506 votes
8 answers
358k views

Which is better to use, and why, on a large project: #if DEBUG public void SetPrivateValue(int value) { ... } #endif or [System.Diagnostics.Conditional("DEBUG")] public void SetPrivateValue(...
Lucas B's user avatar
  • 12k
503 votes
12 answers
267k views

I'm trying to build a new Docker image for our development process, using cpanm to install a bunch of Perl modules as a base image for various projects. While developing the Dockerfile, cpanm returns ...
Altreus's user avatar
  • 6,339
489 votes
9 answers
309k views

In Python, how can I print the current call stack from within a method (for debugging purposes).
oneself's user avatar
  • 40.8k
477 votes
6 answers
302k views

I want to print the full length of a C-string in GDB. By default it's being abbreviated, how do I force GDB to print the whole string?
John Carter's user avatar
  • 55.7k
462 votes
18 answers
969k views

How can I print a message to the error console, preferably including a variable? For example, something like: print('x=%d', x);
Mark Harrison's user avatar
425 votes
30 answers
1.9m views

Is it possible write a string or log into the console? What I mean Just like in JSP, if we print something like system.out.println("some"), it will be there at the console, not at a page.
Labeeb Panampullan's user avatar
421 votes
22 answers
824k views

I have been adding logs to the console to check the status of different variables without using the Firefox debugger. However, in many places in which I add a console.log in my main.js file, I ...
Nathan Basanese's user avatar
408 votes
43 answers
454k views

I am getting this strange error in Eclipse while trying to set a breakpoint. Unable to insert breakpoint Absent Line Number Information I ticked the checkbox from Compiler options but no luck.
chandrajeet's user avatar
  • 8,993
403 votes
29 answers
193k views

I have this Python application that gets stuck from time to time and I can't find out where. Is there any way to signal Python interpreter to show you the exact code that's running? Some kind of on-...
Seb's user avatar
  • 17.9k
393 votes
7 answers
186k views

Since I'm building a dynamic site, I need to track the changes between pages, ie. Ajax calls, POST, GET stuff and similar stuff. I'm looking for the same functionality like in Firebug (where you can ...
Zlatko's user avatar
  • 19.7k
376 votes
7 answers
87k views

Is there a way to profile Vim plugins? My MacVim becomes slower and slower when I open a large .py. I know I could deselect all plugins and reselect one by one to check which plugin is the culprit, ...
charlax's user avatar
  • 26.2k
371 votes
20 answers
826k views

How do I verify the existence of an object in JavaScript? The following works: if (!null) alert("GOT HERE"); But this throws an Error: if (!maybeObject) alert("GOT HERE"); The Error: ...
Yarin's user avatar
  • 186k
360 votes
30 answers
313k views

Is there an easier way to step through the code than to start the service through the Windows Service Control Manager and then attaching the debugger to the thread? It's kind of cumbersome and I'm ...

1
2 3 4 5
1055