Login | Register
My pages Projects Community openCollabNet

Discussions > tsWebEditor > Re: tsWebEditor and Xdebug problem

Project highlights: home | downloads | news | features | screenhots | support

tswebeditor
Discussion topic

Back to topic list

Re: tsWebEditor and Xdebug problem

Author thaj
Full name Thaler
Date 2006-01-25 08:47:20 PST
Message >Hello,
>
>First of all, I discovered tsWebEditor few days ago. It's a
>
>great software and I think I will use it in the future.
>
>But after some tests I have a problem with the debugger
>function.
>I followed all instructions to install Xdebug and the
>phpinfo() is ok.
>I can run the sample code in the tsWebEditor's help
>documentation (with xdebug_break(); line). So the http
>debug mode is ok. But that's all !
>
>When I set a breakpoint on my PHP file, I can see it, but
>there is no break on the selected line.
>It seems than only the http debug mode works.
>
>Perhaps I don't understand how to use the debugger on this
>
>editor ?...
>
>

You can set breakpoints in the editor and call your php
script via a browser. To start a debug session, you must add
XDEBUG_SESSION_START=something to your query string. e.g.
http://localhost/myf​ile.php?XDEBUG_SESSI​ON_START=something
You can also set in your php.ini to start always a debug
session.

Your Apache Web Server and tsWebEditor can use different
filenames for the same file. This may a reason why the
breakpoints not work.
Set a breakpoint at a line with PHP code and add the
function xdebug_break. Run the script. Take a look at the
Stack Window and compare the filename with the filename in
the Breakpoints Window.

Or you run your script in tsWebEditor. =>Menu Debug\Run

thanks,
thaler.

« Previous message in topic | 2 of 5 | Next message in topic »

Messages

Show all messages in topic

tsWebEditor and Xdebug problem vexin Vexin 2006-01-24 04:24:01 PST
     Re: tsWebEditor and Xdebug problem thaj Thaler 2006-01-25 08:47:20 PST
         Re: tsWebEditor and Xdebug problem vexin Vexin 2006-01-26 04:09:23 PST
             Re: tsWebEditor and Xdebug problem thaj Thaler 2006-01-31 05:14:37 PST
                 Re: tsWebEditor and Xdebug problem vexin Vexin 2006-02-02 13:00:27 PST
Messages per page: