Opened 4 years ago

Closed 4 years ago

#757 closed Bugs (fixed)

Xdebug configuration with no path maps causes NPE.

Reported by: g4wjs Owned by: incastrix
Priority: 5 Milestone: 1.2.2
Component: XDebug Version: 1.2.x
Keywords: Cc:

Description

Xdebug requires a path map to be set, unfortunately if web server and PHPEclipse are on same machine it is not at all clear that a path map is required.

With no path maps an NPE is thrown silently and source trace fails to work which means breakpoints are not reflected in the UI even though the script execution halts.

I would suggest that not having any path map should use a default of mapping the source to the path supplied from the Xdebug client supplied by the PHP engine.

Change History (2)

comment:1 Changed 4 years ago by incastrix

  • Milestone changed from 1.3.0 to 1.2.2
  • Owner set to incastrix
  • Version changed from 1.2.0 to 1.2.x

comment:2 Changed 4 years ago by incastrix

  • Resolution set to fixed
  • Status changed from new to closed

Closed in changeset #1639.

Note: See TracTickets for help on using tickets.