[xdebug-general] Re: Cannot hit breakpoints

From: george larson <george.g.larson[@]gmail.com>
Date: Tue, 19 Oct 2010 11:31:24 -0400

Yeah. I'm coding in PHP; I dunno if that matters.

In NetBeans, if I correctly recall, I did the following.

Debug File (Ctrl+Shift-F5) and then use Step Into (F7), Step Over (F8)
or Step Out (Ctrl-F7)

That gets me the functionality that I need. I've been meaning to put
some time into sorting out why the breakpoints don't work, but it seems
there's always some more pressing issue on my plate.

Rob Sargent wrote:
> George,
>
> Thanks for the vote!
>
> But I have to ask how are "step debugging" if you can't hit a break
> point? Just start at main()??
>
> On 10/19/2010 09:17 AM, George Larson wrote:
>
>> Since there weren't any immediate replies, I just wanted to add that I
>> have the same problem with NB 6.7.1 and NB 6.9.1 on openSUSE 11.2.
>>
>> I've not put any real effort into fixing it because I do have the
>> ability to do step debugging and I was confident that it was something
>> I had done incorrectly during installation. Over the course of one
>> long day, I did step my way through a process of several thousand
>> iterations. It would have been a lot easier if the breakpoints worked
>> but the problem was sufficiently pressing that I didn't have time to
>> focus on my configuration.
>>
>> However, if anybody has any ideas, Rob isn't alone with this problem. :)
>>
>> Thanks,
>> G
>>
>> On 17 October 2010 15:11, Rob Sargent <robjsargent[@]gmail.com> wrote:
>>
>>> I'm using NetBeans 6.9 and xdebug 2.1.0 on ubuntu9.10
>>>
>>> I've installed xdebug successfully, at least according to the wizard, which
>>> tells me:
>>>
>>> Tailored Installation Instructions
>>> Summary
>>>
>>> * Xdebug installed: 2.1.0
>>> * Server API: Command Line Interface
>>> * Windows: no
>>> * Zend Server: no
>>> * PHP Version: 5.2.10-2
>>> * Zend API nr: 220060519
>>> * PHP API nr: 20060613
>>> * Debug Build: no
>>> * Thread Safe Build: no
>>> * Configuration File Path: /etc/php5/cli
>>> * Configuration File: /etc/php5/cli/php.ini
>>> * Extensions directory: /usr/lib/php5/20060613+lfs
>>>
>>> You're already running the latest Xdebug version
>>>
>>> I get "the pretty orange-bannered" reports about problems encountered but I
>>> cannot stop on lines in the debugger.
>>>
>>> When I debug the project in NetBeans the "Waiting for
>>> Connection(netbeans-xdebug)" sliders wanders back and forth aimlessly until
>>> I kill, at which point it pops up the xdebug-not-installed message
>>> (attached) but I've set all the properties it mentions in both php.ini files
>>> in etc/php5/{cli/apache2}/php.ini as
>>>
>>> xdebug.remote_enable=1
>>> xdebug.remote_handler=dbgp
>>> xdebug.remote_mode=req
>>> xdebug.remote_host=localhost
>>> xdebug.remote_port=9000
>>>
>>> Any advice appreciated.
>>>
>>>
>>>
>>>
>>>
Received on Tue Oct 19 2010 - 16:31:36 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST