microsoft / microsoft/java-debug

Live Share debugging not working for client

未关闭
#324 8 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

ai-triaged needs more info question
主要语言
Java
星标
409
派生
204
平均合并
1 天 13 小时
30 天内合并 PR
4

描述

Hi !
I've noticed that we can't share debugging with clients during a live share session.
I'm using the latest version of Vs Code 1.43.1

Here is the vs code extensions I use :

  • Language Support for Java(TM) by Red Hat
  • Debugger for JavaPreview
  • Live Share Extension PackPreview : with setting "liveshare.allowGuestDebugControl": true

How to reproduce :

  • start a live share session
  • invite someone (a "client")
  • the client set a breakpoint in the code
  • the client launch the Java main program with Run launcher from Vs Code

What I see :

  • the debug is correctly started on my station (the server)
  • I see the execution stopped on the breakpoint (the line is coloured)
  • The client don't see the debugging toolbar and the coloured line

What I expect :

  • the client has access to the debug toolbar
  • the client can control the debugging

Thanks !

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先,使用 VS Code 1.43.1、列出的 Java 扩展和设置 liveshare.allowGuestDebugControl 重现该问题。在 Live Share 会话期间,通过 VS Code Run 启动器运行 Java main 程序,然后比较服务器和客户端的调试 UI。当客户端能看到调试工具栏和高亮显示的 breakpoint,并且能够控制执行时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
java, vscode
领域
devtools
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。