Re: how to debug on windows

From: Date: Thu, 14 Aug 2003 02:34:15 +0000
Subject: Re: how to debug on windows
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-3701@lists.php.net to get a copy of this message
I always use batch files to execute my apps, with the following contents: @echo off <path to php binaries>\php.exe <name of script> pause The pause allows you to read the error messages :) Tony Leake wrote:
Hi, I finally have my app in a working state and now need to transfer it to windows. I have used the firepages installer which seemed to work well and the examples all run. Unfortunately my app doesn't :( I just get a quick flash of a dos window. In my php ini file I have log errors turned on and given it an error_log path of c:\windows\gtkdev\errors.txt but nothing is being written there. I am starting the script with c:\gtkdev\php4\php_win\ -c c:\gtkdev\php4\php.ini -f c:\gtkdev\scripts\main.php If I substitute main.php for test.php which has no gtk but a deliberate error I get a message in the error log. Also other Gtk apps work. Any suggestions greatly appreciated, i'm really not used to working with windows Thanks Tony


« previous php.gtk.general (#3701) next »