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 121773 - Improve usability for debugger setup
Summary: Improve usability for debugger setup
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Denis Anisimov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-12 22:56 UTC by Petr Blaha
Modified: 2008-08-12 12:24 UTC (History)
1 user (show)

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 Petr Blaha 2007-11-12 22:56:07 UTC
[NB build 071112]
Debugger doesn't work. I put breakpoint to php file but debugger didn't stop there.
Comment 1 Denis Anisimov 2007-11-13 13:32:52 UTC
Please provide additional details about how you exactly use debugger :
- What action do you do for debugger start.
- Where this action is.
- What type of server ( web or another ) is chosen .
- How debugger is configured .
...........

Please also look at short description http://jupiter.czech.sun.com/wiki/view/Netbeans/PHPDebugger
where you can find some information about debugger.

Possibly you don't have even enabled remote debugging.
Comment 2 Petr Blaha 2007-11-14 15:57:16 UTC
I didn't do any steps before debugging for setup debugger. I just invoked 'Run' action on my PHp project, then put
breakpoint to file and invoked 'Debug' that's all. In case some setup is needed, the user should me informed about this
from IDE. For me it seems as P1 debugger usability issue. According config, I use locally installed Apache server.
Comment 3 Petr Blaha 2007-11-14 15:58:49 UTC
I added Petr Pisl to cc who faced the same problem. He couldn't find out how to enable debugging for PHP projects. I
think that debugging should be more intuitive. Please, see as JRuby debugger is done, ... 
Comment 4 Petr Pisl 2007-11-14 17:22:49 UTC
You should not put link there, which refers to a non public site like jupiter.czech.sun.com.

I agree with Petr Blaha, as a user I hit the Debug action. There is not any ui response. I would expect some ui
reaction. If the debugger is not set up correctly, there should be a dialog, which explain what has to be done. 
Comment 5 Denis Anisimov 2007-11-14 17:55:08 UTC
Agreed on some usability problem.
But there is no way to identify non-configured debugger except timeout .
There is no possibility to know that debugger is not configured.
It is possible to wait some time only and show to user dialog about 
absent response from debugger.

So summary of bug should be changed.
Comment 6 Alexei Mokeev 2007-11-14 18:30:27 UTC
Agree. User have to be informed about the failure with the debugger.
Comment 7 Denis Anisimov 2007-11-20 15:15:41 UTC
    Checking in php/rtexplorer/src/org/netbeans/modules/php/rt/providers/impl/actions/Bundle.properties;
    /cvs/scripting/php/rtexplorer/src/org/netbeans/modules/php/rt/providers/impl/actions/Bundle.properties,v  <-- 
Bundle.properties
    new revision: 1.16; previous revision: 1.15
    done
    Checking in php/rtexplorer/src/org/netbeans/modules/php/rt/providers/impl/actions/DebugCommandImpl.java;
    /cvs/scripting/php/rtexplorer/src/org/netbeans/modules/php/rt/providers/impl/actions/DebugCommandImpl.java,v  <-- 
DebugCommandImpl.java
    new revision: 1.13; previous revision: 1.12
    done

I notify user about absent connection from remote debugger after some interval of time.
Comment 8 Mikhail Matveev 2008-08-12 12:24:57 UTC
This was solved.