Opened 8 years ago

Closed 4 years ago

#302 closed Feature Requests (invalid)

Debug and Release mode

Reported by: jmmolina Owned by: toshihiro
Priority: 5 Milestone: 1.3.0
Component: debugger Version: 1.2.0-nightly
Keywords: debugger Cc:

Description (last modified by ed_mann)

Hello,

It seems we can't get both worlds once the debugger is
setup. I carefully followed instructions from the «
Installing the DBG Debugger » wiki page and once the
debugger is installed you can't execute PHP scripts
anymore without the debugger running in Eclipse. Here
is the error message I got when browsing a script :

---
DBG 

Failed to start debug session 

reason: 
failed to establish connection to client host on
localhost:10001 
---

The web server is trying to connect to the debugger to
interpret the script but like it's not running, it
fails. It means once the debugger is setup, scripts can
only be debugged. That's why my summary is about debug
and release modes.

So that server behaviour is interesting for a debugging
server but I'm not sure most users have such a setup.
Worst setting implicit_flush to On makes the script
interpretation much slower so the whole server is in
debug mode.

A solution would be to find a way to run the server
using a different configuration when debugging a script
from Eclipse. If the debugger is not running the server
should be run with implicit_flush at Off.

JM.

Change History (4)

comment:1 Changed 5 years ago by ed_mann

  • billable set to 0
  • Description modified (diff)
  • Keywords debugger added
  • Milestone set to 1.3.x
  • os_platform set to Linux
  • Version changed from None to 1.2.0-nightly

comment:2 Changed 5 years ago by scorphus

  • Owner changed from nobody to scorphus
  • Status changed from assigned to new

comment:3 Changed 5 years ago by scorphus

  • os_platform changed from Linux to Any
  • Owner changed from scorphus to toshihiro

This issue is a consequence of the bug reported in ticket #573.

I'm reassigning it to toshihiro.

comment:4 Changed 4 years ago by incastrix

  • Resolution changed from None to invalid
  • Status changed from new to closed

too old :-D

Note: See TracTickets for help on using tickets.