Skip to content

QL debug in VSCode: switching dbs has no effect. #2654

Open
@aschackmull

Description

@aschackmull

Describe the bug
If I enter debug mode for a query in order to be able to quick-eval inside a shared qlpack and I then select a different db then querying still happens on the prior db

Version
CodeQL extension version: 1.8.8
CodeQL CLI version: 2.14.0
Platform: darwin x64

To reproduce

  1. Go to a .ql file
  2. Right-click -> "CodeQL: Debug Query"
  3. Switch to a different database
  4. Right-click -> "CodeQL: Debug Selection" on any predicate

Expected behavior
I'd expect querying to always happen on the currently selected database.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    VSCodebugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions