Skip to content

Debugger stopping at breakpoints #128

Closed

Description

From @adplax18 on June 9, 2017 21:33

Environment data

VS Code version: 1.13
Python Extension version: 0.6.4
Python Version: 3.5
OS and version: Linux Ubuntu Budgie 17.04

Actual behavior

Debugging is not hitting breakpoints, and the stopOnEntry also is not functioning

Expected behavior

Execution would pause on F5 based on breakpoint and/or settings

Steps to reproduce:

  • place breakpoint in any file with settings as below
  • attempt to debug file (I was using F5)

Settings

Your launch.json (if dealing with debugger issues):

    "version": "0.2.0",
    "configurations": [

        {
                "name": "Python",
                "type": "python",
                "request": "launch",
                "stopOnEntry": true,
                "program": "${file}",
                "console": "none",
                "pythonPath": "${config:python.pythonPath}",
                "debugOptions": [
                    "WaitOnAbnormalExit",
                    "WaitOnNormalExit",
                    "RedirectOutput"
                ],
                "env":{"name" : "value"}
        }
    ]
}

Your settings.json:

{
    "python.pythonPath": "/home/alan/Documents/PythonProjects/DataScience/bin/python3.5",
    "python.autoComplete.extraPaths": [
        "/home/alan/Documents/PythonProjects/DataScience/lib/python3.5",
        "/home/alan/Documents/PythonProjects/DataScience/lib/python3.5/site-packages"
    ]
}

Logs

Output from Python output panel

hello world
[50 68]

(was using the numpy test example)
Output from Console window (Help->Developer Tools menu)
-None

Copied from original issue: DonJayamanne/pythonVSCode#1009

Activity

  1. DonJayamanne commented on Nov 13, 2017

    @DonJayamanne
    Author

    From ehinkle27 on June 11, 2017 0:46

    I second this issue had the same problem. Also could not see variable values

  2. DonJayamanne commented on Nov 13, 2017

    @DonJayamanne
    Author

    From Nermin Kekic (@nerminkekic) on June 15, 2017 20:2

    I am also have the same issue with debugger.

  3. icepolarizer commented on Nov 13, 2017

    @icepolarizer

    I'm having a same issue, too.
    Currently I'm using pycharm and waiting for the next update.

  4. DonJayamanne commented on Jan 2, 2018

    @DonJayamanne
    Author

    @kenixer @adplax18 I've tested this and I'm unable to replicate this issue at my end.
    Please note, there exists a similar issue #109.

    ehinkle27 , Nermin Kekic (@nerminkekic) Please could you ensure you have updated to the latest version of the extension. Once you have please could you re-test this and provide the following:

    • OS
    • Version of Python

    Note: Please try a simple python program such as the following:

    a = 1
    b = 2
    print("abc")
  5. changed the title [-]Debugger Not Pausing[/-] [+]Debugger stopping at breakpoints[/+] on Jan 2, 2018
  6. MikhailArkhipov commented on Feb 12, 2018

    @MikhailArkhipov

    It's been a while without more info, closing. Feel free to reactivate if this is still a problem. Thanks.

  7. locked as resolved and limited conversation to collaborators on Jul 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-debuggingbugIssue identified by VS Code Team member as probable buginfo-neededIssue requires more information from poster

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions