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.so
xdebug.remote_enable = 1
xdebug.remote_port = 9000
xdebug.remote_host = localhost
xdebug.remote_handler = dbgp

Vim and the proper plugins (debugger.vim and debugger.py) 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:

[Code]....

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


ADVERTISEMENT

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 View Related

Fedora :: Xdebug And Eclipse Installation - Set PHP IDE AT

Feb 1, 2011

I have tried countless numbers of times to install xdebug with NetBeans as well as Eclipse. I have yet to get anything working. If anyone has installation instruction for how to set any PHP IDE AT ALL that will allow me to set breakpoints and view variables. I'm on Fedora 14.

View 3 Replies View Related

Fedora :: Xdebug Won't Bind To Port 9000

Oct 20, 2010

I'm using Goddard and AMD 64;

1) Just playing with PHP and needed to do some debugging.
2) Installed Xdebug from RPO
3)PHP.INI edited
4) Phpinfo() reports xdebug running.

I try

[code]...

I thought about selinux and mapped 9000 [URL]...

View 2 Replies View Related

General :: Install Xdebug In System Mint?

May 5, 2011

How to install xdebug in Linux Mint?

View 1 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/id_rsa.pub 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.

Code:
ryan@TehLaptop:~$ ssh -v -o PreferredAuthentications=publickey ryan@unix.xxxxxxx.xxx
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 unix.xxxxx.xxx [xxx.xxx.xxx.xxx] port 22.

[Code].....

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

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

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 this.so plz tell me the procedure of remote debugging.

View 7 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:
display
10/20/30

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

Ubuntu Networking :: 9.10 Not Connecting To Internet At Home But Connecting From Work

Feb 9, 2010

I just installed Ubuntu 9.10 and its great. However when I connect to the internet at home it shows that the connection has been established but I still cant connect to the internet. My flatmates are all able to connect. However, I am able to connect from work both wirelessly and through an ethernet cable.

View 2 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

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

[Code]...

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

Code:

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

Software :: Debugging Tools Scripts In Kate?

Oct 2, 2010

If you have a script that works sometimes and doesn't work other times in Kate and there just might be error outputs that kate isn't passing around in any obvious manner, how would one know how to find out what's going wrong?I'm talking about the user-made scripts under Tools/External Tools. When you run those scripts and an error happens, I don't see any error output.

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 file.mk 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







Copyrights 2005-15 www.BigResource.com, All rights reserved