[xdebug-dev] Bug 0000345: XDebug + external Javascript => crash with "... not defined." error

From: <noreply[@]lists.xdebug.org>
Date: Sat, 29 Dec 2007 23:50:41 +0100

The following NEW bug has been ADDED.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000345
======================================================================
Reporter: martin_cerha
Handler:
======================================================================
Project: Xdebug
Bug ID: 345
Category: Usage problems
Reproducibility: always
Severity: crash
Priority: normal
Status: new
Operating System: Win XP Pro Service Pack 2
PHP Version: 5.2.1
Xdebug Version: 2.0.2
======================================================================
Date Submitted: 2007-12-29 23:50 CET
Last Modified: 2007-12-29 23:50 CET
======================================================================
Summary: XDebug + external Javascript => crash with "... not defined." error
Description:
When XDebug is active and I use external javascript in php
<script src="/include/calendar.js"></script>
where is defined some function or object (for examle Calendar). And when I
try to use Calendar, system shows eror (translation):
Window title: Error
Text: Error in program. Do you want to debug? Line:58 Error: Calendar not
defined.

Alert at the end of external script shows message successfully, and after
that error...

When I rename the main file from .php to .htm, it works fine. Or when I
stop XDebug (PHPEdit-Debug-XDebug-Stop XDebug listener) it works fine.
======================================================================

Bug History
Date Modified Username Field Change
======================================================================
2007-12-29 23:50martin_cerha New Bug
2007-12-29 23:50martin_cerha Bug Monitored: martin_cerha
======================================================================
Received on Sat Dec 29 2007 - 23:50:47 GMT

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST