This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 188244 - When initiating debugging session, i get asked to specify URL twice
Summary: When initiating debugging session, i get asked to specify URL twice
Status: RESOLVED DUPLICATE of bug 187454
Alias: None
Product: php
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: PC Windows 7 x64
: P3 normal with 2 votes (vote)
Assignee: rmatous
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-30 14:19 UTC by TheBishopOfSoho
Modified: 2010-08-08 09:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description TheBishopOfSoho 2010-06-30 14:19:05 UTC
Hi there, whenever I try to start a debug session, I get asked to specify the URL to debug twice. First time I enter it, press ok and immediately I get asked a second time. Regardless of what I put into that second popup, it opens debugging on the URL i put in the first dialog. The debugging works fine but the double take is annoying. 
Im using XDebug, remote debugging, to a VirtualBox Debian Lenny host on my machine.
Comment 1 alexey-bass 2010-08-05 14:51:39 UTC
Today I ran into the same issue.

NetBeans and Xdebug were working good so far until I changed in project properties debug URL to "Ask Every Time".

I can live with doulbe asking, but it's annoying.

Another issue I got that, after some debugging sessions I stop debugger in NetBeans and browser hung.
It should show that session is terminated ('?XDEBUG_SESSION_STOP_NO_EXEC=netbeans-xdebug"' in URL and "DEBUG SESSION ENDED" in browser), but instead, it opens new browser tab with same debug URL and hangs.

Restarting NetBeans doesn't help. 
Restarting Apache with disabled xdebug in 'php.ini' works, but enabling it again - browser hangs.
Also, it hangs only for debug client host (xdebug.remote_host=MY-IP).
The workaround I found is to enter in browser the same debug URL with '?XDEBUG_SESSION_STOP_NO_EXEC=netbeans-xdebug"' at the end.

Looks like it not only ask twice, but open two debug sessions to Xdebug.

Client:
NetBeans IDE 6.9 (Build 201006101454)
Windows 7 Enterprise [version: 6.1.7600]
Java: 1.6.0_21; Java HotSpot(TM) Client VM 17.0-b16
Firefox 3.6.8 with Firebug 1.5.4

Server:
Apache/2.2.13 (Unix) with mod_php
PHP 5.2.13 (built: Jul 21 2010 14:56:47)
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with Xdebug v2.1.0, Copyright (c) 2002-2010, by Derick Rethans
Comment 2 alexey-bass 2010-08-08 09:21:13 UTC

*** This bug has been marked as a duplicate of bug 187454 ***