To debug is to attempt to locate and remove errors (bugs) in a computer system.

learn more… | top users | synonyms (1)

54
votes
2answers
57k views

How do you display POST data with cURL?

As an example, POSTing to a web server with the -v argument: curl -v http://testserver.com/post -d "firstname=john&lastname=doe" And the output > POST /post HTTP/1.1 > User-Agent: ...
44
votes
5answers
16k views

What is the proper way of debugging a slow Windows installation?

You know the drill - you've been asked to check why your cousin's computer is running slow. I was right there yesterday. Being a Mac user since 2007 I haven't really dug deep in Windows internals in ...
21
votes
2answers
4k views

Chrome: Hide Extension Errors in JavaScript Console

Is there a way to prevent extensions from showing up in the console of the developer tools window? It's annoying to be looking for JavaScript errors and have to ignore errors that are always there. I ...
18
votes
1answer
15k views

setting ulimit on a running process

I launched a server application and I want to run it for a long time for testing purpose. Unfortunately, I forgot to set before ulimit -c unlimited to catch an eventual crash and inspect it. Is there ...
17
votes
2answers
6k views

Safari Web Developer Tools?

Where do you enable web developer tools in Safari on windows? I can't find it anywhere. A quick web search found some really complicated instructions that felt more like a hack then turning on a ...
17
votes
3answers
17k views

How can I run ALL http request through Charles Web Debugging Proxy - including command line ones?

I'm using the Charles Web Debugging Proxy software to debug HTTP requests. It works great with my desktop browsers, Chrome and Firefox, and it even sees HTTP requests that other programs make. When I ...
15
votes
3answers
7k views

How to prevent Chrome from refreshing page when viewing source?

When viewing page source in Google Chrome, the browser opens a new tab and basically pastes the URL in with the view-source: prefix. This is undesirable. As a developer, I may include some diagnostic ...
13
votes
5answers
4k views

PC Blue Screens and then instantly reboots. How do I stop this or find the error later?

I've started getting random blue screens from my (admittedly aged PC). Unfortunately it reboots straight away so I don't get chance to read the error. It's been happening when browsing Stack Overflow ...
13
votes
3answers
17k views

Visual Studio not auto-building when I press the debug button

I'm writing code in Visual Studio but whenever I want to test the application and press the green arrow for "Start debugging", Visual Studio does not automatically recompile the active solution for me ...
11
votes
1answer
6k views

Virtualized OSX can't see iPhone device

I've been running a VM with OSX for a while now while developing for iOS using an iPhone device. Everything was working fine until the update to El Capitan. Since the update, the iPhone is no longer ...
10
votes
3answers
1k views

How to see exception message in Google Chrome while paused?

I'm using Google Chrome for debugging JavaScript. I opened up the JavaScript Console and the "Pause on Exception" feature is enabled. Now whenever I run JavaScript that has an exception in it, it ...
9
votes
1answer
759 views

How do I debug bash completions?

I have created some bash completion functions that all appear to work in isolation but give me unexpected results when I attempt to tab complete with them. Is it possible to connect bashdb, then ...
8
votes
3answers
10k views

How to “debug” a keyboard in Linux? Like pressing a key and seeing a code in a terminal

I didn't have an answer to my problem about adding additional keyboards in my Ubuntu 10.04. Questions mark is not working in my keyboard, only using Alt Gr key + W. So, I don't know if this is a ...
8
votes
1answer
1k views

Open Emacs with --debug-init on OS X

I am trying to debug why my .emacs does not load. Error message. Invalid read syntax: # ... Start Emacs with the `--debug-init' option to view a complete error backtrace. My question is: How do I ...
8
votes
1answer
7k views

Where is the javascript console in Safari 5.0.5 for Windows?

Just what the title says. Where can I find the javascript console in safari?
7
votes
4answers
2k views

ASCII-art unicorn one-liner [closed]

I need to spruce up my debugging messages. I have a smiley in there :D, but someone suggested using a unicorn. There are some nice resources on ASCII unicorns (e.g. ...
7
votes
1answer
848 views

Finding useful crash-information in Windows 8 Consumer Preview

I'm currently diving into C# and wanted to play around with the new Metro-styled-applications introduced with Windows 8, so I updated my Windows 7 to Windows 8 Consumer Preview. The problem I'm ...
6
votes
4answers
38k views

Diagnosing slow Excel spreadsheets?

A client contacted me, complaining of Excel spreadsheets that were taking far too long to open. They use Excel for creating invoices, so they have hundreds of Excel spreadsheets with light formatting ...
5
votes
2answers
3k views

In GDB, how can I jump directly up to the topmost call stack frame?

I have a C program that seg faults after descending deep into an infinite recursive mess. Backtracing the process in GDB is useless because the call stack frame is at least 1000 frames deep, and the ...
5
votes
3answers
6k views

How can I see all keypresses on the keyboard?

I've been given a laptop to fix - it is 'randomly scrolling documents'. I'm almost certain it's a faulty connection in the keyboard, causing page-down to fire. Is there a program I can use to monitor ...
5
votes
3answers
12k views

What is encryption loss when unzipping?

When I drag files from a .ZIP file my friend sent me, it barks: Do you want to copy this folder without encryption?` A problem is preventing that folder from being encrypted. What's ...
5
votes
4answers
534 views

Microsoft Word is skipping table caption numbers - how to debug?

I have a series of tables in a document. The caption numbers should be Table 3.1, 3.2, 3.3 etc. Unfortunately however, there is one being skipped (i.e. 3.1, 3.3, 3.4...). Perhaps this is because I ...
5
votes
2answers
11k views

How to debug a program as admin within Visual Studio

I'm running VS2K8 in Win7 64-bit. I'm logged in as admin and I'm running it as admin, but the program I'm working on fails with access denied when I call a restricted API. If run the program from ...
5
votes
1answer
2k views

Copy entire firefox error console

In firefox error console (Ctrl-shift-J in my locale), there is the option of rightclick -> copy to copy one event to clipboard. I want to save the entire content, while debugging an app, which writes ...
5
votes
1answer
2k views

How do I remove these “autofocus” selection borders from the Windows 8.1/8 tile screen?

Good evening, everyone. I've just recently started to notice some unintended-enabled borders around my Windows 8 machine. Here are some screenshots: In the above photos, you will notice that ...
5
votes
0answers
1k views

Windows 8 Consumer Preview - Full Core CPU Utilization by system process [closed]

I have a Lenovo X220 laptop on which I've installed Windows 8 Consumer Preview. Sometimes though it'll get stuck using 100% of a CPU core though in the SYSTEM process, and there's nothing I can do to ...
4
votes
3answers
131 views

What's the easiest way to list all files opened by a program?

I'm debugging the initialization of a program (on a mac) and would I'd like to get a list of all the files opened during the execution, preferably in time order. Can this be done?
4
votes
2answers
139 views

How to make Windows 10 BSOD show more details like older versions of Windows

I would like to know if there's any way to make Windows 10 show more details when crashing like windows 7 did. And on this link to Microsoft developer net how to attach a debugger if it's possible ...
4
votes
3answers
25k views

How do I debug “X11 connection rejected because of wrong authentication”

I have a problem with X forwarding through SSH. I've battled for ages, but no-one can seem to help. I'm now taking a different tact. I would like to know how I would debug the errors? What logs ...
4
votes
2answers
205 views

What debugger is preventing my application from further execution?

I have an auto-run application that says: So, I go on and debug it and see: (df0.c2c): Access violation - code c0000005 (first chance) First chance exceptions are reported before any exception ...
3
votes
4answers
19k views

Recurring crash: “An unhandled win32 exception occurred in mscorsvw.exe”. How to diagnose/fix?

I recently got a new PC at work and had to reinstall development tools, etc. The PC runs Windows XP (blech), and I've got Visual Studio 2010 and .NET Frameworks 2.0, 3.5, and 4.0 installed, each with ...
3
votes
2answers
1k views

Visual Studio 2008 Debugger really slow with SSD

My setup is a laptop with Windows 7 64-bit, Visual Studio 2008 SP1 on an Intel X25-M 4 GB SSD with page file turned off (no need) and 2.2 GHz Core Duo. What happens is weird: When I build my project ...
3
votes
2answers
2k views

Tool for determining which service is using all my CPU

I am wondering if a tool exists that can tell me which service is causing services.exe to use all CPU time. Basically a Task Manager for services.exe. Does anybody know of such a tool.
3
votes
1answer
2k views

show all breakpoints when debug a python code with pdb

I am using pdb to debug a python code. I set the breakpoints in the pdb command line with b [linenumber]. Can I check all the linenumber of breakpoints? thanks.
3
votes
3answers
11k views

How do you tell the version of Flash Player running in Chrome?

I am getting an error trying to debug in Flex: it says to make sure I'm running the debugger version of Flash Player. I downloaded it and installed it, but still am getting the error. But I wonder ...
3
votes
2answers
1k views

Debugging methods for Windows XP hangups

I experience occasional 'freezes' on my desktop machine (Windows XP SP3). I've tried the normal debugging methods I know (watching Process Explorer, running ProcMon (hard to get a good trace because ...
3
votes
3answers
2k views

TF101 Android: Image block device via adb

I have an Asus TF101 tablet running Android ICS. I am trying to image the entire internal flash file system onto my desktop via adb. The problem is that the image I am obtaining appears to be ...
3
votes
1answer
3k views

Mac: window manager frozen, have ssh access

I have a Mac which regularly runs into a problem. The user interface stops reponding, showing a "frozen" user interface. The mouse is still moving but clicking does not trigger anything. This happens ...
3
votes
1answer
248 views

How can I create a memory dump of a production system without affecting performance?

I am trying to analyze a hard-to-track memory leak problem on a production IIS web server running an ASP.NET application. To that end I am trying to create a dump file of the memory to analyze it ...
3
votes
1answer
115 views

PC enters a state where it's “sleeping” but cannot wake up

Sometimes, I come back to my computer to see it look like it's sleeping, but I'm unable to wake it up (either with the keyboard/mouse or with the power button). The power light on the front of my ...
3
votes
0answers
917 views

Valgrind can't find debug symbols, even with --extra-debuginfo-path

I'm attempting to install Valgrind on an embedded Debian-based PowerPC system. I've managed to cross-compile it successfully, but now it's complaining that it can't find debug information. I've put ...
3
votes
2answers
571 views

Firefox - built in search engine toolbar broken

When I change the order of the search engines (Toolbar -> Manage Search Engines -> Move up / down -> Ok) it changes the order, until I close and reopen the browser. I can't imagine that's the way ...
2
votes
6answers
1k views

Strange firefox bug

whenever i type any address and click go, it gives some strange error. for example , when i type "www.google.com" it freezes for sometime and gives me error as follow: File Not Found ...
2
votes
3answers
800 views

How to grab a random section in the middle of a huge file?

I have a huge log file of around 3.5 GB and would like to sample random sections in the middle of say 10 MB for the purpose of debugging what my application is doing. I could use head or tail ...
2
votes
3answers
3k views

Someone hacked my pc, please help. (debug.log.sent)

Once every hour my computer sends out debug.log files. Example: debug.log.110422_171810.sent 4/22/2011 10:13am I don't know to whom these files are being sent, nor do I know what's in them. I do ...
2
votes
2answers
187 views

Add/Remove programs: what happens when an app installs incorrectly?

I'm a developer, and the installshields I create deploy 'debugsupport.msi', which is the visual studio 2010 debug support executable. However, when I attempt to run it, it says it's already installed ...
2
votes
3answers
3k views

How do I start Emacs with the debug init option?

The warning that I get, as soon as I open Emacs is this: Warning (initialization): An error occurred while loading `/Users/Kaileeena/.emacs': End of file during parsing: ...
2
votes
3answers
976 views

Debug JS from browser without a server/localhost

So something I do very frequently is writing random scripts in JS without really being part of an app. To run them I just paste them in the console of either Chrome of FF which works as a nice REPL, ...
2
votes
1answer
1k views

How to hide debugging output in Mathematica?

I want hide all outputs created by Print command from user's function defined in module .m. More precisely the problem is following: I have a module that solves some specific task (It's not ...
2
votes
2answers
2k views

Check “Id3 Tag” integrity from mp3 (almost a “debug”). Is it possible?

I'm using Mp3Tag do edit Id3 tags in my mp3 files. In the editor everything looks ok, but in my iTunes, some of them just ge messed up. The artist isn't read, Album Artist doesn't show up, this kind ...