Questions tagged [debug]

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

To debug is to attempt to locate and remove errors (bugs) in a computer system. It is most commonly used in software development and testing, but also sees some use with hardware and systems administration as well.

417 questions
192
votes
5 answers

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.19.7 (universal-apple-darwin10.0) libcurl/7.19.7…
gak
  • 8,597
  • 10
  • 27
  • 29
58
votes
5 answers

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 the past five years. Googling for answers reveals…
Niklas
  • 683
  • 1
  • 6
  • 6
56
votes
6 answers

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 know from this question you can use Incognito…
Tom
  • 817
  • 2
  • 8
  • 13
42
votes
1 answer

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 being recognized by the VM-OSX (this includes…
Dev-iL
  • 1,329
  • 1
  • 11
  • 19
36
votes
5 answers

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 and I have to manually build the solution then…
Kurru
  • 1,684
  • 6
  • 20
  • 27
35
votes
2 answers

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 MSDN article Blue Screen Data explains how to…
Pasindu Perera
  • 453
  • 1
  • 4
  • 7
33
votes
1 answer

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
  • 577
  • 1
  • 7
  • 15
30
votes
4 answers

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 run Charles and check the network config, I think…
cwd
  • 17,668
  • 42
  • 121
  • 159
28
votes
2 answers

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 something I can do?
Lorenzo Pistone
  • 454
  • 1
  • 6
  • 15
23
votes
5 answers

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 problem with Ubuntu or Virtualbox itself (I'm running…
21
votes
3 answers

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 output that is only visible in the source after…
macek
  • 6,035
  • 17
  • 46
  • 57
19
votes
3 answers

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 attempt to tab complete something and step through to…
Dan Midwood
  • 301
  • 2
  • 7
18
votes
3 answers

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 setting. Does Apple really make it that hard to…
Adam Youngers
  • 283
  • 1
  • 2
  • 6
14
votes
6 answers

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 should I look in, what extra flags should I set (-v…
wkdmarty
  • 895
  • 2
  • 9
  • 12
14
votes
5 answers

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 it stops you from reinstalling. I need this to fix…
user3108268
  • 678
  • 2
  • 12
  • 26
1
2 3
27 28