Finding problems in a program and trying to solve these.
Questions tagged [debugging]
202 questions
2
votes
0 answers
Show or log long queries with values instead placeholders
I have any very long sql query in postgresql. I tried show what postgress do with:
select * from pg_stat_activity
unfortunately I see something like:
select some_fields from anytable1 anytable2 where \
( anyfield1.anytable1=$1 )and(…

Znik
- 348
- 1
- 3
- 12
2
votes
1 answer
How to debug a website while running IIS 7?
I am running iis7 on my windows machine for testing purposes. Now I need to have access to the debugger so when something happens I can walk through it.
Yet when I put debug lines on my site nothing happens. So I am guessing I need more stuff setup…

chobo2
- 461
- 1
- 10
- 18
2
votes
2 answers
Cisco 2811 debug command
Is there a command that allows the debugs to be shown in color. It would be easier for my techs to read the debug outputs. Didn't see any that I could find.
Thanks
Robert
2
votes
1 answer
What steps are required to debug a memory.dmp? (walkthrough included)
I woke up to this in my eventlog today:
The computer has rebooted from a bugcheck.
The bugcheck was: 0x000000ef (0xffffe0018668f080, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000).
A dump was saved in: C:\Windows\MEMORY.DMP. Report…

makerofthings7
- 8,911
- 34
- 121
- 197
2
votes
1 answer
Tracking down a memory leak
I previously asked a question about a server that had a very high nonpaged pool memory utilization and someone explained how to use poolmon to track down the problem driver.
I did this, but I'm not sure I have identified the issue.
Running…

red888
- 4,183
- 18
- 64
- 111
2
votes
1 answer
Linux kernel bug w/ netns and/or Xen guest - "unregister_netdevice: waiting for lo to become free"
I am running a web crawler in a Xen-based VM (on Linode); it makes heavy use of network namespaces to control use of VPNs on a per-crawl-process basis. It's been running mostly continuously for the past six months.
Intermittently - at a rate of…

zwol
- 1,355
- 2
- 12
- 22
2
votes
0 answers
Fiddler doesn't work on Windows Server 2012
I can't get Fidller to show any traffic whatsoever when installed on Server 2012 Standard.
Any hints on what needs to be enabled or disabled or clicked to make it functional?
Just in case, Fiddler version is v4.4.8.0.

user227895
- 121
- 2
2
votes
1 answer
Puppet: class already declared
I'm currently in reorganising the structure of my puppet code to a model, which uses, profiles and roles.
I've started with profiles and was testing, but already run into issues :/
In my node definition I do the following:
node 'dev.server' {
…

paul.tw
- 93
- 1
- 8
2
votes
2 answers
How to obtain last bash error
I am working with a terrible project. It uses a lot of messy shell script in background. Script might include some other scripts. And many error outputs were redirected to /dev/null. When a script is not executed successfully, I can use echo $? to…

stanleyxu2005
- 179
- 1
- 1
- 8
2
votes
2 answers
Where (and how) to put PDB files for custom .NET code?
Our developer sent me a PDB file to help debug a custom application. I currently have my symbol directory set to c:\symbols, and several Microsoft symbols are there in this folder format:
ntdll.pdb
| -----GUID
| ---->…

Jeff Costa
- 481
- 3
- 9
2
votes
1 answer
Apache 403 after configuring varnish
I just don't know where else to look and what else to do. I keep getting a 403 error on all my vhosts after setting varnish 3.0
Apacher log:
[error] [client 127.0.0.1] client denied by server configuration:
…

w0rldart
- 217
- 1
- 2
- 14
2
votes
2 answers
Failure to obtain IP with ARP over Wi-Fi with personal Wi-Fi router in client mode
I'm trying to connect a Samsung TV to the Internet using a TL-MR3020 personal wireless router in client mode. The TV fails to connect to the network. It sees the ethernet cable connected though.
Here's my network topology:
Here's what I've captured…

axk
- 267
- 1
- 6
- 14
2
votes
2 answers
Diagnose hard lockup on Linux
During past month one of my Debian Squeeze (Linux 2.6.32-bpo.5-amd64) machines did lock up twice, hard. No response to ARP, dark console, Caps Lock, Num Lock not working, Magic SysRq ineffective. Changing the kernel to 3.2.0-0.bpo.2-amd64 from…

Hubert Kario
- 6,361
- 6
- 36
- 65
2
votes
2 answers
sshd immediately core dumps after fsck repair
I have a centos server that recently needed a fsck repair on it's main hard drive. After fixing a bunch of inode issues (booting from a system rescue disk), the box booted clean. Most of the services are running fine, however the sshd service…

John P
- 1,679
- 6
- 38
- 59
2
votes
0 answers
A tool to measure overhead of establishing TCP connections
I need a tool which would while doing port forwarding measure how much time was spent establishing TCP connections vs total time passed. Charles debugging proxy has the port forwarding feature and shows the total time from the beginning of the first…

axk
- 267
- 1
- 6
- 14