Skip to content

F5, run to the next break point not working? #196

@kenpeter

Description

@kenpeter

Hi,

I am working on Drupal 7 and open a file. I press F10 to set a break point. I press F5, then run Drupal. The debugger dropped me into the /var/aegir/platforms/staging/drupal-7.27/index.php, which is the entry point of Drupal 7. I pressed F5 and run to the end of script, instead of the break point. The F5 is working in other situations though.

Here is the log

- [Info] {Fri 23 2015 12:21:19} Searching for win by name /var/aegir/platforms/staging/drupal-7.27/profiles/foa/modules/custom/faeprofile/faeprofile.module
- [Info] {Fri 23 2015 12:21:19} Win 1, name /var/aegir/platforms/staging/drupal-7.27/profiles/foa/modules/custom/faeprofile/faeprofile.module
- [Info] {Fri 23 2015 12:21:19} Returning window number 1
- [Info] {Fri 23 2015 12:21:19} Found connection from ('127.0.0.1', 49521)
- [Info] {Fri 23 2015 12:21:19} Updated line number of breakpoint 11000 to 1690
- [Info] {Fri 23 2015 12:21:19} Registering 1 breakpoints with the debugger
- [Debug] {Fri 23 2015 12:21:19} Command: breakpoint_set -i 1 -t line -f file:///var/aegir/platforms/staging/drupal-7.27/profiles/foa/modules/custom/faeprofile/faeprofile.module -n 1690 -s enabled
- [Debug] {Fri 23 2015 12:21:19} Response: <?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="1" state="enabled" id="186230001"></response>
- [Debug] {Fri 23 2015 12:21:19} Command: context_names -i 2
- [Debug] {Fri 23 2015 12:21:19} Response: <?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_names" transaction_id="2"><context name="Locals" id="0"></context><context name="Superglobals" id="1"></context></response>
- [Debug] {Fri 23 2015 12:21:19} Available context names: {0: 'Locals', 1: 'Superglobals'}
- [Debug] {Fri 23 2015 12:21:19} Command: step_into -i 3
- [Debug] {Fri 23 2015 12:21:19} Response: <?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="step_into" transaction_id="3" status="break" reason="ok"><xdebug:message filename="file:///var/aegir/platforms/staging/drupal-7.27/index.php" lineno="17"></xdebug:message></response>
- [Info] {Fri 23 2015 12:21:19} Getting stack information
- [Debug] {Fri 23 2015 12:21:19} Command: stack_get -i 4
- [Debug] {Fri 23 2015 12:21:19} Response: <?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stack_get" transaction_id="4"><stack where="{main}" level="0" type="file" filename="file:///var/aegir/platforms/staging/drupal-7.27/index.php" lineno="17"></stack></response>
- [Info] {Fri 23 2015 12:21:19} Moving to current position in source window
- [Info] {Fri 23 2015 12:21:19} Setting source file: /var/aegir/platforms/staging/drupal-7.27/index.php
- [Info] {Fri 23 2015 12:21:19} Placing pointer sign on line 17
- [Info] {Fri 23 2015 12:21:19} Getting Locals variables
- [Debug] {Fri 23 2015 12:21:19} Command: context_get -i 5 -c 0
- [Debug] {Fri 23 2015 12:21:19} Response: <?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="5" context="0"></response>
- [Info] {Fri 23 2015 12:21:19} Writing 0 properties to the context window
- [Debug] {Fri 23 2015 12:21:19} Writing to context window:
[ *Locals ] [ Superglobals ]

- Locals at /var/aegir/platforms/staging/drupal-7.27/index.php:17


- [Info] {Fri 23 2015 12:21:22} Running
- [Debug] {Fri 23 2015 12:21:22} Command: run -i 6
- [Debug] {Fri 23 2015 12:21:22} Response: <?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="run" transaction_id="6" status="stopping" reason="ok"></response>
- [Info] {Fri 23 2015 12:21:22} Debugging session has ended
- [Info] {Fri 23 2015 12:21:22} Closing the connection
- [Debug] {Fri 23 2015 12:21:22} Closing the socket

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions