Skip to content

Sampler stalls when invoked from VSCode's debug console #738

@kevinchern

Description

@kevinchern

Sampler stalls execution when invoked from VSCode's debug console.
I'm on a windows laptop but this is run in a remote linux machine via ssh.
Windows VSCode version 1.105.1

Pertinent software versions etc.:

To get the debugger to stall, run this in debugger

from dwave.system import DWaveSampler
qpu = DWaveSampler(solver="Advantage2_system1.7")

# Do NOT run this next step by stepping the debugger.
# INSTEAD, copy and paste this into the "debug console" to run manually.
qpu.sample_ising({32:0}, {})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions