Questions tagged [debug]

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

Filter by
Sorted by
Tagged with
196 votes
5 answers
254k 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: curl/7....
gak's user avatar
  • 8,737
59 votes
5 answers
27k 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 ...
Niklas's user avatar
  • 693
58 votes
7 answers
20k 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 ...
Tom's user avatar
  • 825
42 votes
1 answer
75k 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 ...
Dev-iL's user avatar
  • 1,329
37 votes
5 answers
58k 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 ...
Kurru's user avatar
  • 1,694
35 votes
2 answers
27k 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. In Windows 10, the Blue Screen of Death: hides the parameters of the kernel panic: The ...
Pasindu Perera's user avatar
33 votes
1 answer
18k 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.
HXGuo's user avatar
  • 607
30 votes
4 answers
35k views

How can I run ALL HTTP requests 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 ...
cwd's user avatar
  • 18.1k
28 votes
2 answers
32k 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 ...
Lorenzo Pistone's user avatar
24 votes
5 answers
29k 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 ...
Somebody still uses you MS-DOS's user avatar
21 votes
3 answers
25k 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 ...
macek's user avatar
  • 6,205
20 votes
3 answers
4k 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 ...
Dan Midwood's user avatar
18 votes
3 answers
12k 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 ...
Adam Youngers's user avatar
15 votes
6 answers
74k 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 ...
wkdmarty's user avatar
  • 965
15 votes
2 answers
56k views

How to prevent black boxes on desktop icons in Windows after removing shortcut arrows?

When removing shortcut arrows using the regedit value %windir%\System32\shell32.dll,-50 in Shell Icons 29, black boxes cover up my desktop icons where the shortcut arrows used to be. How do I fix ...
Wandering Fool's user avatar
15 votes
5 answers
85k views

How to reinstall .NET Framework 4/4.6 on Windows 10?

If .NET Framework is broken or anything they let you download their installer (offline/web) but it doesn't work, you just bounce back a message that current or later version is already installed and ...
user3108268's user avatar
13 votes
5 answers
8k 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 ...
ChrisF's user avatar
  • 41.3k
13 votes
6 answers
65k 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 ...
Simon Hova's user avatar
12 votes
1 answer
4k 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 do ...
r4.'s user avatar
  • 495
11 votes
3 answers
11k 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 ...
dandrews's user avatar
  • 213
11 votes
10 answers
50k 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 ...
Lee's user avatar
  • 899
11 votes
1 answer
11k 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?
James Cadd's user avatar
11 votes
3 answers
2k 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 ...
Senseful's user avatar
  • 4,240
10 votes
5 answers
42k 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 ...
fredley's user avatar
  • 3,417
10 votes
1 answer
17k views

VSCode - Break on "Uncaught exceptions" checkbox hidden

I used to see a checkbox named "Uncaught Exceptions" in the VSCode Debug sidebar, under the "Breakpoints" section, just like in this pict (look bottom left of the picture) But I ...
bartocc's user avatar
  • 201
10 votes
1 answer
8k 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 ...
ashastral's user avatar
  • 1,103
9 votes
2 answers
1k views

Repeat last test in debug mode in Visual Studio 2013

It is possible to repeat the last test, but in debug mode? When running the last test (even when I manually last ran it in debug mode), it will run without debug mode. I thought perhaps I could map ...
Alex KeySmith's user avatar
8 votes
4 answers
18k 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: /Users/Kaileeena/....
Kaileeena's user avatar
8 votes
4 answers
4k 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. http://www.ascii-art.de/ascii/uvw/...
Claudiu's user avatar
  • 1,756
8 votes
1 answer
3k views

Logging/debugging the bash startup process

My bash shell sometimes takes quite a while to start, probably due to a lot of stuff happening in my various dot files (e.g. .bash_profile, etc.). Is there any way to properly log the bash startup ...
Markus Amalthea Magnuson's user avatar
7 votes
2 answers
73k views

What does the error message 0xC000041D mean?

I browsed with iexplore and it crashed with the message C000041D i.e. Unhandled exception at 0x7149B7C0 in iexplore.exe: 0xC000041D: An unhandled exception was encountered during a user ...
Niklas Rosencrantz's user avatar
7 votes
3 answers
20k 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 causing the ...
Pacerier's user avatar
  • 27.2k
7 votes
1 answer
4k views

How to debug Windows shutdown issues?

I have Windows 10 Home edition. Since the last update, the computer takes forever to shutdown. Here's what I tried: Right-click Start Select Windows PowerShell (Admin) Click "Yes" on the ...
Jaap Joris Vens's user avatar
7 votes
2 answers
21k views

Debugging connection timeouts using strace?

I'm trying to figure out why is Eclipse spinning, so I decided to fire up strace. I found the eclipse process using: $ ps ax | grep java 5546 ? Sl 19:04 /usr/bin/java ... [arguments ...
jabalsad's user avatar
  • 1,477
7 votes
5 answers
16k views

Can't import key with gpg on arch linux

I'm a arch 4.9.8-1 system. I wanted to install linux-vfio kernel for gpu passthrough and to fix a problem with a bad IOMMU group. Trying to install the linux-vfio kernel I got the following error for ...
Haroon's user avatar
  • 71
7 votes
1 answer
865 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 ...
Lukas Knuth's user avatar
6 votes
3 answers
29k 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 ...
Damon's user avatar
  • 2,759
6 votes
3 answers
10k views

Microsoft update (MSU) does not find updates for other Microsoft products (e.g. Office) after MSU update

This post relates to an earlier thread of mine to fix a problem with Microsoft Update (MSU) during which I had to re-install MSU under Windows 7, 64bit, SP1. I installed this Microsoft update to fix ...
tomka's user avatar
  • 467
6 votes
2 answers
25k views

Is it possible to enable logging or any kind of debug mode for the Office Deployment Tool?

I'm having a difficult issue with installing Office 2016 using the Office Deployment Tool (ODT). The problem is compounded by the fact that I can't see any way to get information about what ODT is ...
user56reinstatemonica8's user avatar
6 votes
1 answer
5k 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 ...
Bernd's user avatar
  • 333
6 votes
1 answer
3k 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 ...
Lenne's user avatar
  • 1,212
6 votes
1 answer
8k views

Why are Skype messages showing up out of order?

Recently, I saw a one-line Skype message dated 7:36 AM. I saw and responded to this message with one line at 9:39 AM. The other person wrote three lines back again in the early afternoon, which I did ...
WBT's user avatar
  • 1,852
6 votes
5 answers
7k views

ASUS RT-N66U how to identify source of traffic spike

I have an ASUS RT-N66U as my home router. We are experiencing some traffic spikes in downloading over WiFi that slow all other activity to a crawl. Is there a way to identify the source (ip/host) of ...
GraehamF's user avatar
  • 289
6 votes
0 answers
2k views

"Authentication is required to refresh the system repositories"

A few months ago, I updated Debian to 10. (I believe I'm using Wayland and GNOME?) Among the several problems that suddenly started occurring is the following: Once in a while, I'll come back to my ...
Erhannis's user avatar
  • 340
5 votes
2 answers
15k 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 ...
brian's user avatar
  • 51
5 votes
1 answer
4k 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 there ...
1234567's user avatar
  • 185
5 votes
1 answer
4k views

Windows 10; crash after few minutes after startup; restarts and never crashes again until a power off

I turn on my computer. Windows 10 boots up and the desktop appears. I login and get to do my work. After a few minutes, the computer restarts by itself suddenly (no BSOD). Windows boots up and I get ...
Yashas's user avatar
  • 161
5 votes
0 answers
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 ...
Billy ONeal's user avatar
  • 8,271
4 votes
3 answers
220 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?
eaubin's user avatar
  • 713
4 votes
2 answers
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.
Christian Madsen's user avatar

1
2 3 4 5
9