![]() |
|
|
|||||||
| General Discussion If it's not covered anywhere else, then talk about it here! |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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:
Guillermo |
|
|||
|
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 ![]() |