Skip to content

Debugger stopping at breakpoints #128

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

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