Skip to content

Stepping throws errors trying to open poll.c #7980

Open

Description

Bug type: Debugger

Describe the bug

  • OS and Version: Debian 10 Buster (chromebook)
  • VS Code Version: 1.59.0
  • C/C++ Extension Version: v1.5.1

To Reproduce
Please include a code sample and launch.json configuration.
Steps to reproduce the behavior:
Launch debugger on Debian 10 Buster (GNU gdb 8.2.1) and start stepping through files. A popup with this error will happen on every step:

Unable to open 'poll.c': Unable to read file '/build/glibc-vjB4T1/glibc-2.28/sysdeps/unix/sysv/linux/poll.c' (Error: Unable to resolve non-existing file '/build/glibc-vjB4T1/glibc-2.28/sysdeps/unix/sysv/linux/poll.c').

Activity

  1. WardenGnaw commented on Aug 16, 2021

    @WardenGnaw
    Member

    Are you stepping into a library method or your own method. If it is the library method, have you downloaded the source file for poll.c?

  2. vadi2 commented on Aug 16, 2021

    @vadi2
    Author

    I was stepping in Qt code when this happened. I don't have the source code for it, so I expected it to be just ignored.

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

    debuggermore info neededThe issue report is not actionable in its current state

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions