Delphi For PHP Forums    

Arabic Bulgarian Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch Finnish French German Greek Hebrew Hungarian Italian Japanese Korean Norwegian Polish Portuguese Romanian Russian Serbian Slovak Spanish Swedish Thai Turkish By Hybr!d

Go Back   Delphi-PHP Forums > General > General Discussion
Forum Jump Register FAQ Members List Downloads Search Today's Posts Mark Forums Read

General Discussion If it's not covered anywhere else, then talk about it here!

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 4th October 2008, 20:34
D4PHP Enthusiast
 
Join Date: Aug 2008
Location: Guadalajara, México
Posts: 153
alquimista is on a distinguished road
Default Fatal error: Maximum execution time...

Hi,

Some days ago I posted it a problem with the IDE's Debugger

There have been no answers; I'm trying to isolate the problem here. I have developed 4 foms in my application; the first two ran Ok in the debugger; when I wanted to test the additional 2 If in a form, the run crhashed with time-outs. Then I created a dummy test form, and copied the use-units and includes I have for my forms; if I include the basic "use_units", the debugger seems to run fine:

use_unit("buttons.inc.php");
use_unit("comctrls.inc.php");
use_unit("dbctrls.inc.php");
use_unit("db.inc.php");
use_unit("mysql.inc.php");
use_unit("dbtables.inc.php");
use_unit("forms.inc.php");
use_unit("extctrls.inc.php");
use_unit("stdctrls.inc.php");

If I add my data module:

require_once("LYR_ModuloDatos.php");

the problem begins; the CPU goes up to 100% and the debugger takes 10 seconds to respond. I have one db connection, 2 tables, 2 data sources in the dataModule.

If I add a PHP file with class definitions:

require_once("GNsis/GNsis_bd.php");

It takes 20 seconds to start.

If I add all that have to go, I get "Fatal error: Maximum execution time of 30 seconds exceeded":

PHP Code:
require_once("vcl/vcl.inc.php");

//Inclusiones

require_once("lyr_proveedor.php");

require_once(
"GNsis/GNsis_bd.php");
require_once(
"GNsis/GNsis_bd_listas.php");
require_once(
"LyR_Plantilla.php");

require_once(
"lyr_proveedor_operaciones.php");

require_once(
"LYR_ModuloDatos.php");
use_unit("buttons.inc.php");
use_unit("comctrls.inc.php");
use_unit("dbctrls.inc.php");
use_unit("db.inc.php");
use_unit("mysql.inc.php");
use_unit("dbtables.inc.php");
use_unit("forms.inc.php");
use_unit("extctrls.inc.php");
use_unit("stdctrls.inc.php"); 
If I run it with no debugger or in my production server, I have no problem. Is there something I should setup on the IDE arround the debugger? or is it a debugger bug?

Guillermo
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 5th October 2008, 04:40
D4PHP Enthusiast
 
Join Date: Aug 2008
Location: Guadalajara, México
Posts: 153
alquimista is on a distinguished road
Angry

Ok... just found out how to solve it:

I had about 10 breakpoints around different program files; I deleted all of them, and magic, the debugger worked fine again.

I just can say that the debugger is not working well with breakpoints; sometimes stops, sometimes don't... sometimes get hanged with them... I have to reset the list of breakpoints from time to time to have the debugger working.

Finding out work arounds for debugger bugs, it’s taking me more time on than to develop my application
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 02:35.




Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 ©2009, Crawlability, Inc.
Copyright © 2004 - 2009, G&J Solutions Ltd. All Rights Reserved. terms of use