dwavesystems / dwavesystems/dwave-cloud-client
Sampler stalls when invoked from VSCode's debug console
- Dominant language
- Python
- Stars
- 63
- Forks
- 44
- Avg merge
- 13h 45m
- Merged PRs (30d)
- 1
Description
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.:
- [VSCode's extension Python Debugger](https://marketplace.visualstudio.com/items?itemName=ms-python.debugpy) version `2025.14.1`
- `Python version is 3.11.13`
- `debugpy==1.8.14 `
- `dwave-ocean-sdk==9.1.0`
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}, {})
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.