FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Anyone using xdebug on headless linux server?
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Anyone using xdebug on headless linux server? [message #180030] Fri, 28 December 2012 05:04 Go to next message
r.mariotti is currently offline  r.mariotti
Messages: 17
Registered: December 2011
Karma: 0
Junior Member
I'm attempted to deep debug a large php program and research shows
that xdebug is what I need to watch/trap certain variable changes.
I'm using php 5.3.10 on a non-X ubuntu server without any IDE so how
can one access/control the xdebugger during program execution without
an x console?

Thanks
Re: Anyone using xdebug on headless linux server? [message #180032 is a reply to message #180030] Fri, 28 December 2012 13:24 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 12/28/2012 12:04 AM, BobMCT wrote:
> I'm attempted to deep debug a large php program and research shows
> that xdebug is what I need to watch/trap certain variable changes.
> I'm using php 5.3.10 on a non-X ubuntu server without any IDE so how
> can one access/control the xdebugger during program execution without
> an x console?
>
> Thanks
>

xdebug has decent support on it's mailing list, where you should be
asking. See www.xdebug.org/support.php.

When dealing with a package, your should always look at the support
structure for that package. The authors know the product better than
anyone else.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: Anyone using xdebug on headless linux server? [message #180033 is a reply to message #180030] Fri, 28 December 2012 13:45 Go to previous messageGo to next message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma: 0
Senior Member
BobMCT wrote:

> I'm attempted to deep debug a large php program and research shows
> that xdebug is what I need to watch/trap certain variable changes.
> I'm using php 5.3.10 on a non-X ubuntu server without any IDE so how
> can one access/control the xdebugger during program execution without
> an x console?

Xdebug does not require XFree86/.org; it is (presumably) the "(PHP)
DEBUGging eXtension”, not the “X debugger”. I suggest you get yourself a
real name and debug your server-side PHP code remotely on a machine that
runs an X client (so that you can use a graphical IDE there). I am using
Eclipse PDT for the latter.


PointedEars
--
Danny Goodman's books are out of date and teach practices that are
positively harmful for cross-browser scripting.
-- Richard Cornford, cljs, <cife6q$253$1$8300dec7(at)news(dot)demon(dot)co(dot)uk> (2004)
Re: Anyone using xdebug on headless linux server? [message #180035 is a reply to message #180030] Fri, 28 December 2012 19:59 Go to previous messageGo to next message
M. Strobel is currently offline  M. Strobel
Messages: 386
Registered: December 2011
Karma: 0
Senior Member
Am 28.12.2012 06:04, schrieb BobMCT:
> I'm attempted to deep debug a large php program and research shows
> that xdebug is what I need to watch/trap certain variable changes.
> I'm using php 5.3.10 on a non-X ubuntu server without any IDE so how
> can one access/control the xdebugger during program execution without
> an x console?

I do it all the time with my text mode development VMs. Your web server will connect
to your (xdebug enabled) IDE, so the requirement is that your desktop can be reached
at this address.

/Str.
Re: Anyone using xdebug on headless linux server? [message #180037 is a reply to message #180035] Sat, 29 December 2012 03:14 Go to previous messageGo to next message
r.mariotti is currently offline  r.mariotti
Messages: 17
Registered: December 2011
Karma: 0
Junior Member
On Fri, 28 Dec 2012 20:59:43 +0100, "M. Strobel"
<sorry_no_mail_here(at)nowhere(dot)dee> wrote:

> Am 28.12.2012 06:04, schrieb BobMCT:
>> I'm attempted to deep debug a large php program and research shows
>> that xdebug is what I need to watch/trap certain variable changes.
>> I'm using php 5.3.10 on a non-X ubuntu server without any IDE so how
>> can one access/control the xdebugger during program execution without
>> an x console?
>
Thanks all who responded. I did visit the xdebug forum and actually
installed xdebug on my server and installed netbeans on my windoze
desktop and got it working. But now I've got to learn how to use
netbeans. Heavy sigh.

Thanks again.
Re: Anyone using xdebug on headless linux server? [message #180047 is a reply to message #180030] Tue, 01 January 2013 10:22 Go to previous messageGo to next message
Andre[3] is currently offline  Andre[3]
Messages: 2
Registered: August 2012
Karma: 0
Junior Member
Le 28/12/2012 06:04, BobMCT a écrit :
> I'm attempted to deep debug a large php program and research shows
> that xdebug is what I need to watch/trap certain variable changes.
> I'm using php 5.3.10 on a non-X ubuntu server without any IDE so how
> can one access/control the xdebugger during program execution without
> an x console?
>
> Thanks
You could try (if you are on another Linux box)
on system where you work
xhost +
On the system to debug
export DISPLAY=yourMachineWhereYouWork
start the debuger ...??!
display ( and mouse,keyboard.. should be on the system where you work..
BTW:Happy New Year..
André
Re: Anyone using xdebug on headless linux server? [message #180050 is a reply to message #180047] Tue, 01 January 2013 13:30 Go to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 1/1/2013 5:22 AM, Andre wrote:
> Le 28/12/2012 06:04, BobMCT a écrit :
>> I'm attempted to deep debug a large php program and research shows
>> that xdebug is what I need to watch/trap certain variable changes.
>> I'm using php 5.3.10 on a non-X ubuntu server without any IDE so how
>> can one access/control the xdebugger during program execution without
>> an x console?
>>
>> Thanks
> You could try (if you are on another Linux box)
> on system where you work
> xhost +
> On the system to debug
> export DISPLAY=yourMachineWhereYouWork
> start the debuger ...??!
> display ( and mouse,keyboard.. should be on the system where you work..
> BTW:Happy New Year..
> André

Not required for xdebug - it does NOT use an x console. Answers like
this are why I recommend people get answers from the source.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Create SQLite3 Version of PHP Manual from Docbooks
Next Topic: Happy New Year
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Dec 18 03:27:46 GMT 2024

Total time taken to generate the page: 0.02763 seconds