Programming :: Effective Debugging Or Improving Ones Debugging Skills ?

May 21, 2009

Does anyone know how can one improve his debugging skills or how can one narrow down the problem and try to get to the solution ASAP.Or rather how once should approach a problem.I know this is a bit vague question but I want to know how you people approach?

View 3 Replies


Programming :: Improving Web Design Skills

Apr 29, 2010

im interested in improving my web designing. ive been trying to learn ajax and flash completed a couple tutorials and i was thinking about starting a project. the goal of the project is to make a banner on top of a webpage that basicly is a slide show of thumbnails. but at the same time when u click on the image that flashes by it send you to the page where u can buy a print of the image. when you hover over the banner it stops. and is all contained in its own box. i did try to use a banner slide show box b4 but it didnt do everything i wannted and at the same time it expanding the length of the webpage as it scrolled the top.i was wondering how i might get the tools and knowlege i need to acomplish my goal.

View 3 Replies View Related

Programming :: Debugging Multithreaded Application?

Aug 23, 2010

i need to debug a application which is using many threads. i am using eclipse with GDB debugger but it is not possible to debug it since it has a lot of different threads and i can not not debug it as wre debug in case of single thread(main) . So i would like to know, is there a way to debug such an application, if there is some tutorial that would be nice to know.

View 8 Replies View Related

Programming :: GDB (No Debugging Symbols Found)

Oct 19, 2010

I'm running gdb across a network using gdb server. I've got it up and running. However I can't see any source or variables for my code (in ddd /gdb). At start up gdb says (no debugging symbols found). I've got a g in my make file,
CPFLAGS = -Wall -Os -g -pedantic

I've tried loading symbols in using "symbol-file testarm", this sort of works in that I can view symbols but not names, e.g. if I ask dd to show x y and z, rather than
x = 10
y = 20
x = 30

It says:

Also ddd does not show anything in the source window, is there a way I can get it to show this? I think it's because I've started ddd with ddd arm-linux-gdb, as I'm calling a crosscompiler gdb. So can I tell ddd to point to the correct folders? What commands I need to set in gdb/ddd to view variable names (it's hard to keep track when it bunches them all together) and how to view my source code.

View 2 Replies View Related

Programming :: Switch Between Processes When Debugging With Gdb?

Feb 11, 2011

How to switch between processes when debugging with gdb?

View 2 Replies View Related

Programming :: Debugging GTK + Programs Hangs The System?

Oct 28, 2010

A thread-aware version of gdb receives a system notification when a thread starts in the app it is debugging. GTK+ has hidden threads associated with loading icons into menus. So trying to debug a GTK+ program, even one that is apparently single-threaded, can produce a deadlock between gdb, the app and XWindows. The app (actually GdkPixbufLoader) grabs the focus, the mouse and the keyboard and then starts a thread when a menu is opened. If gdb has trouble with threads, it leaves the app blocked but still holding the mouse, et. al. Then you can't talk to gdb or any other GUI interface. To make gdb happy, all GTK+ apps need to be linked with -pthread, if you have the source. If not, gdb cannot be used. In order to break the deadlock, you need a non-GUI shell. If your /etc/inittab starts agetty, mingetty, or the like, and you can get to it with <CRTL><ALT><F3...F6>, you can do a kill -KILL <pid> on the offending app, recover and then go back to XWindows with <CTRL><ALT> <F1/F2>. Otherwise it's reboot time.

View 3 Replies View Related

Programming :: Debugging Kernel Binaries And Modules

Jun 13, 2011

I need to debug "ls". I downloaded coreutils and compiled them in debug mode."ls" uses readdir() kernel API to fetch files/directories from a file system. readdir() fetch data from any file system (suppose FAT or ext3).I have debug version of FAT/ext3 and installed, I also have debug version of coreutils (ls) as well.Now I want to debug from "ls" to "FAT/ext3 readdir()".How to do that?

View 6 Replies View Related

Programming :: Debugging Nasm Source Code ?

Dec 5, 2010

I found on the Internet a rough suggestion to debug code which says to add a line:

An example shows this lists the lines of source that do work.

I do not know where these lines are supposed to go and whether the "notdeadyet" should be a call to a subroutine or what. I only found that "%define" is used to link to external files, so I am confused because what I tried did not work.

(I am unable to use (and learn) any debugging tool for another few weeks and I'd like to progress on this If I can.)

View 2 Replies View Related

Programming :: Debugging QT Project Through GDB In Command Line?

Jan 31, 2011

First step will obviously be to compile the QT project with -g option, but how to do that through command line?

View 6 Replies View Related

Programming :: Gdb Debugging Exec From Child Process?

Jul 14, 2011

Im using gdb for debugging my application.. I was able to debug child process(when fork comes) .. and in child process we have an exec call to .... So the problem is, when the control come to exec , the exec process is executing at a time... I could not debug the exec. process... error is stack curruption due to same frame So, is there any way to debug the exec process

View 1 Replies View Related

Programming :: Make File Debugging Racking?

Feb 24, 2010

I have an environment where i have recursive make files (that is one main and in each directory of a project a with rules for that directory).Since i'm not the one who wrote it i'm not familiar with it. I would like to explore when i run certain targets how the rules work, which files cause dependency rules to work and why. Also i would like to know ALL the targets that are available to me. i couldn't find any way to 'debug' makefiles or to put it in such debug mode that i see all the information i need when i run a certain target.

View 4 Replies View Related

Programming :: Working With C++ And Autotools - Debugging Application ?

Mar 22, 2010

I have started to work with c++ and autotools.

I mainly maintain an application and a shared library as a hobby.

Nothing professional yet, because I want to understand the best practice strongly recommended by advanced professional programmers.

I check out my sources into $HOME/repository and svn creates:

Where I get c++ sources/headers + and

Now I need to understand what is considered as a good practice for debugging application, either A), B) or something else.

A) install application and its dependency with:



And then I debug the application in the place it was built. [$HOME/repository/app/src/]

View 2 Replies View Related

Programming :: Debugging Shell Script With A Variable Expansion?

Jan 20, 2011

What I am trying to accomplish is a way to read only the lines that have been added to the file mylog0 since the last time the script looped (5 seconds). I am open to new suggestions too, I have been stuck on this little script for a few hours already.

Code: #!/bin/bash


View 2 Replies View Related

Programming :: No Debugging Symbols Found (not The Simple Case)?

Jan 6, 2011

I wasn't sure where to put this so if I need to move it just let me know.I have a strange problem that I cannot figure out. When I use gdb to debug our rpm-installed program, it says (no debugging symbols found) when it loads. Thing is, when I use nm on the program it can print the symbols, and even stranger is if I use gdb on the program before it is packed up by rpmbuild it loads the debug symbols just fine.Our program is built via the standard make using:GS=-g -Wall-pedantic and as I mentioned I can debug the resulting program. After the build, I package it up using:

cmd="rpmbuild -v -bb ptsnmp.spec --define "ver ${cmvc_release}" --define "rel ${cmvc_level}" --define "_topdir $rpmdir""When this package is installed via rpm, the binary on the machine shows all the debug info via nm, file shows it is not stripped:pt_snmp: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not strippedyet when I try to debug it I get the no debugging symbols found.This is really taxing my brain and I am sure I am just missing something

View 4 Replies View Related

Programming :: Debugging A Simple Server Supporting Multiple Clients

Sep 24, 2009

I don't have any problem when I'm communicating with one client. The problem starts when I connect another client.The server eventually ignores the older clients and responds only to the latest one.The working mechanism is simple: Accept connections and print messages received from multiple clients.

View 4 Replies View Related

General :: Debugging A Makefile ?

Feb 24, 2011

Is it possible to debug a makefile? In a bash script I can use "set -x" so that all variables are shown with their values. I am looking for such feature in makefile to see the variables and their values.

View 2 Replies View Related

General :: Debugging Not Possible In Eclipse?

Feb 28, 2011

I tried to debug a C++ project in Eclipse Helios, last release. I set breakpoints in some non-main functions, but the debug function never stops there, and I get a warning message which says

"breakpoint attribute problem installation failed" What could be the reason?

PS: The same problem also happens with Eclipse Galileo, last release PS2: I found here info about the bug but no solution:[URL]..

View 1 Replies View Related

General :: Debugging Browser Crash Via CLI?

Sep 14, 2011

I'm preparing for an interview and came across this question in a forum:

If your browser crashes, how would you debug it only using the command line?

For simplicity, let's assume it's a Firefox browser on a *nix environment.

View 2 Replies View Related

Ubuntu :: Debugging SSH Connection With Public Key?

Nov 9, 2010

I am trying to debug a problem where I can't connect to a remote SSH server. I do not have admin rights on the box, however I have a valid account and can login fine with a password, I just wanted to use my public key instead.

I copied over my ~/.ssh/ to the remote server to ~/.ssh/authorized_keys. I tried to connect to the server but it is not allowing me to authenticate when I ask it to use public keys instead of passwords.

ryan@TehLaptop:~$ ssh -v -o PreferredAuthentications=publickey
OpenSSH_5.5p1 Debian-4ubuntu4, OpenSSL 0.9.8o 01 Jun 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to [] port 22.


View 8 Replies View Related

Ubuntu :: Android Debugging All Screwed Up

Dec 3, 2010

This hasn't happened to me before, but I develop for the Android platform and (perhaps needless to say) I really need to be able to debug on a real device. On past installs, my device was recognized automatically and debugging was as easy as checking "debug" in the Android's settings, but now (after updating to Maverick from Lucid) the phone registers with adb as?It mentions some necessary tasks for set-up on Ubuntu, but only mentions this process for Dapper/Gutsy/Hardy. Is there any personal experience out there that can confirm that this works and/or is necessary on Maverick?

View 1 Replies View Related

General :: Debugging A Preseeded Installation?

Dec 28, 2010

What's the best way to debug an automatic installation. I created an iso with a custom menu and that all seems fine... but when I launch my new menu item I get a blank screen with a blinking cursor and nothing else.

View 7 Replies View Related

General :: Debugging In Eclipse IDE Causes GUI Freeze

Mar 11, 2010

Recently I have been having trouble debugging in Eclipse. I an writing a Java Applet and testing it using Eclipse's Applet Viewer but when I attempt debug mode it sometimes causes my GUI to freeze. I am able to break out to the prompt using ctrl-alt-f1 and restart the gui, but that's annoying because I then have to restart all the apps running on it.

Eclipse (Galileo)
Java JDK 1.6
Ubuntu 9.10 with Gnome 2.28.1

View 4 Replies View Related

Software :: Debugging Clients And Servers?

Feb 17, 2011

I am trying to find some ideas on debugging clients and servers. For example, what would be -really great- is to

1. start a debugger with a server (running on a port)

2. start up the client (using a debugger).

Run the client and then trace the processing from the client side to the server side.

How can one accomplish this?

I have downloaded valgrid and Qt Creator - but not sure how one can use both.

View 1 Replies View Related

Software :: Kernel Debugging In Fedora 11

Dec 24, 2010

I am trying to do remote debugging of kernel 2.6.30 form fedora 11 (2.6.29).For this gdb and kgdb are there in the kernels. But am not able to use it.I have not any manual for plz tell me the procedure of remote debugging.

View 7 Replies View Related

Software :: Vim Not Connecting With Xdebug For Php Debugging

Jan 12, 2010

I'm running Ubuntu server 9.10 karmic koala and my client is also ubuntu 9.10 karmic. I've installed xdebug on the server and added to the php.ini file:

zend_extension = /full/path/to/
xdebug.remote_enable = 1
xdebug.remote_port = 9000
xdebug.remote_host = localhost
xdebug.remote_handler = dbgp

Vim and the proper plugins (debugger.vim and are both installed. I load the php file under consideration in my browser on the client with ?XDEBUG_SESSION_START=1 as part of the URL. I then vim the php file, press F5 and reload the page in firefox. Vim shows that it is waiting for 5 seconds for the connection. After 5 seconds it shows an error message that says:


After some googling it has become apparent that these messages mean nothing and the problem is that the connection is just never happening. Xdebug is supposed to be working on port 9000. I've looked at /etc/services and nothing else is mapped to port 9000. I've tried ssh -p 9000 xxx@a.b.c.d and had the connection refused (ssh without a port spec works fine). Now I don't know what to do to get this thing working and I really want it working.

View 1 Replies View Related

Fedora Servers :: SQUID Slow / Debugging It?

Apr 30, 2010

I have squid running on F12 fully updated. Pretty much stock config except bigger cache size.

Over time it seems to start lagging and occupying more memory. Currently using ~400Mb after a couple of months. I'm sure its causing some lag / refreshes because if I turn if off and go direct to internet the same site I had to hit refresh on, loads instantly.

Going through the logs in /var/log/squid I don't see anything suspicious with the untrained eye, whats a better way of debugging it to see where/why the delays are happening? Its a single user setup (for fun really lol) so theres a lot of misses in access.log. cache.log just has a handful of bad img headers which does not line up with lagging websites.code...

View 5 Replies View Related

OpenSUSE Multimedia :: Keeps Debugging And Don't Generate The File

Apr 30, 2009

I'm having trouble with this developing tool... I dunno why but when I build my program, Lazarus compiles it, but keeps debugging and don't generate the file. Do anyone knows which may be the problem?

View 9 Replies View Related

Ubuntu Networking :: Trying To Turn On Samba Debugging?

Aug 20, 2011

im having problems with 1 mount from several shared, AFAIK identically from windows Vista Home

root@server2:~# mount.cifs -v //gaia/thunderbirdMail /mnt/gaia -o user=guest,password='',domain=WORKGROUP, debug=8
mount.cifs kernel mount options: ip=,unc=\gaia hunderbirdMail,,ver=1,u ser=guest,domain=WORKGROUP,pass=********
mount error(13): Permission denied


View 1 Replies View Related

Debian :: Debugging Package Installation Failure ?

May 12, 2010

I installed a packge redmine apt-get install redmine It went without any error. But I found later that it was not working. Another package I installed was red5 during installation it says it can not start red5-server. How can I debug the package installations. If there would have been some script I would have set some thing like set -vmx in it.

As an example while installing red5 I got a message to issue the following


See [url] for more information about dependency based boot sequencing. To reattempt the migration process run 'dpkg-reconfigure sysv-rc'. Even then it failed.

View 1 Replies View Related

Software :: Debugging Tool To Record Connections?

Jul 7, 2010

I'm looking for a tool which will record everybit of information is sent to internet by a particular software and let to inspect the data later

View 1 Replies View Related

Copyrights 2005-15, All rights reserved