microsoft / microsoft/vscode-java-debug

java terminal promot error

未关闭
#721 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

ai-triaged question terminal
主要语言
TypeScript
星标
591
派生
429
平均合并
1 天 9 小时
30 天内合并 PR
19

描述

Every time I run the java from vscode "Run| Debug" button.

it will give

prompt_ip:8: command not found: networksetup prompt_load:29: command not found: sysctl prompt_load:31: command not found: sysctl prompt_load:44: bad math expression: operand expected at * 0.7'
` following the result.

It looks that it will run the /Library/Java/JavaVirtualMachines/openjdk-11.0.2.jdk/Contents/Home/bin/java -Dfile.encoding=UTF-8 @/var/folders/9m/wk4wyf8n6_s6fhryl541tp9w0000gn/T/cp_7casio0lyeeq4l687bbee3z8n.argfile

which cause the problem.

Does anyone ever meet the same problem as me?

Additionally, I have created two issues.

See https://github.com/microsoft/vscode/issues/84287
and https://github.com/redhat-developer/vscode-java/issues/1136.

贡献指南

打开贡献指南

从这里开始

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

调研方向

首先复现报告中描述的 VS Code Run|Debug 调用,并将其 Java 命令与列出的终端错误进行比较。报告未指定任何仓库文件或测试;要完成此项工作,需要找出 networksetup、sysctl 和 bad math-expression 错误的来源,确认该行为已得到解决,并查阅所引用的两个 issue 以了解背景。

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

评估

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

把新 issue 发到你的邮箱

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