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 212520 - Stopping debugging of a single file ends with Socket exception
Summary: Stopping debugging of a single file ends with Socket exception
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P4 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-15 11:37 UTC by Vladimir Riha
Modified: 2014-01-23 02:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log with -J-Dorg.netbeans.modules.php.dbgp.level=400 (42.86 KB, application/octet-stream)
2012-05-15 11:37 UTC, Vladimir Riha
Details
xdebug log (9.77 KB, application/octet-stream)
2012-05-15 11:37 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2012-05-15 11:37:04 UTC
Created attachment 119466 [details]
IDE log with -J-Dorg.netbeans.modules.php.dbgp.level=400

This is (imho) slightly different case than the rest of similar issues reported against debugging and socket exceptions. 

To reproduce:
- open php file in NetBeans (not from project, but using File|Open File)
- start debugging
- debugger stops at 1st line
- stop debugging (shift+f5)
=> socket exception

It doesn't happen when debugging some opened project (file in project) or during the debug session. Only if I stop the debugging. Logs from xdebug and IDE attached (with xdebug logging enabled)


Product Version: NetBeans IDE Dev (Build 201205140400)
Java: 1.7.0_04; Java HotSpot(TM) Client VM 23.0-b21
System: Windows 7 version 6.1 running on x86; Cp1252; en_US (nb)
Comment 1 Vladimir Riha 2012-05-15 11:37:41 UTC
Created attachment 119467 [details]
xdebug log
Comment 2 Ondrej Brejla 2014-01-22 09:57:40 UTC
You tried to retrieve a property without its name, really don't know how you did it :))
Comment 3 Ondrej Brejla 2014-01-22 13:39:18 UTC
property_get response also contains status and reason attributes, which are not described in documentation :/ 

I tried to add some response and status processing + better handling of returned errors. I'm not able to reproduce that anymore...

Fixed in web-main #2ceddebb4fb7
Comment 4 Vladimir Riha 2014-01-22 14:16:54 UTC
Thank you, sometimes I get lucky and find "interesting" issue :)
Comment 5 Quality Engineering 2014-01-23 02:39:12 UTC
Integrated into 'main-silver', will be available in build *201401230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/2ceddebb4fb7
User: Ondrej Brejla <obrejla@netbeans.org>
Log: #212520 - Stopping debugging of a single file ends with Socket exception