Questions tagged [debug]
To debug is to attempt to locate and remove errors (bugs) in a computer system.
418
questions
198
votes
5
answers
259k
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....
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 ...
58
votes
7
answers
21k
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 ...
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 ...
38
votes
5
answers
59k
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 ...
35
votes
2
answers
28k
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 ...
34
votes
1
answer
19k
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.
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 ...
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 ...
24
votes
5
answers
30k
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 ...
23
votes
3
answers
5k
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 ...
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 ...
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 ...
16
votes
7
answers
76k
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 ...
15
votes
2
answers
58k
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 ...
15
votes
5
answers
86k
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 ...
13
votes
5
answers
9k
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
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 ...
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 ...
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 ...
11
votes
10
answers
52k
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 ...
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?
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 ...
10
votes
6
answers
46k
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 ...
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 ...
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 ...
9
votes
1
answer
18k
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 ...
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/....
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/...
8
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 ...
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 ...
7
votes
2
answers
75k
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 ...
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 ...
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 ...
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 ...
7
votes
1
answer
866
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
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 ...
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 ...
6
votes
2
answers
26k
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
4
votes
3
answers
262
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
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.