Skip to content

debugpy exits due to Xfrozen_modules #1952

Description

Environment data

  • debugpy version: 1.8.16
  • OS and version: ubuntu 24.04
  • Python version : 3.12
  • Using VS Code or Visual Studio: vs code

Actual behavior

python -Xfrozen_modules=off -m debugpy --wait-for-client --listen 5675 ../poky/bitbake/bin/bitbake busybox
0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.

Expected behavior

skip frozen_module and not exit the debugger

Steps to reproduce:

clone poky
source poky/oe-init-build-env
python -Xfrozen_modules=off -m debugpy --wait-for-client --listen 5675 ../poky/bitbake/bin/bitbake busybox
run debugger in vscode

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

    bugSomething isn't working

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions