Skip to content
This repository was archived by the owner on Aug 2, 2023. It is now read-only.
This repository was archived by the owner on Aug 2, 2023. It is now read-only.

Add support for remote source references #318

@DonJayamanne

Description

@DonJayamanne

Adds support for sourceReference

Scenarios:

  1. Debugging std libs or similar
  2. Debug a remote application without any source on the client side (all we need is, is one of, breakpoint(), ptvsd.wait_for_attach or ptvsd.break_into_debugger or an exception).

I'd consider item 2 to be a great feature for release (I'm assuming this isn't already possible in PTVS, I know it isn't in VSC Python).

When does this come into play:
Only when remote debugging (attach) and if ptvsd is unable to map the server file to a client file (i.e. PTVSD is unable to map the file)

Status

  • I've got this working, just need to test on Windows, Linux and a docker container
  • Seems to work without any source
  • Breakpoints/pause/breaking into exceptions (works)

Items to consider/check:

  • UX (latency) when debugging large files

@karthiknadig @int19h
Any thoughts/suggestions?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions