vscode-debug-leetcode icon indicating copy to clipboard operation
vscode-debug-leetcode copied to clipboard

vscode debug extension for leetcode, can work with vscode-leetcode

Results 32 vscode-debug-leetcode issues
Sort by recently updated
recently updated
newest added

LeetCode Debug option is not showing up

[{"_id":"636eb5a2b4ee765e3b0ffeda","body":"yes, I have the same issue. Sometimes it shows up and sometimes it doesn't. I am also using a MacBook pro. Attaching a screenshot for better clarity.\r\n\r\n![Screen Shot 2022-10-13 at 4 01 48 PM](https:\/\/user-images.githubusercontent.com\/36896102\/195574836-faf487d1-6241-47eb-9d53-33fc45471423.png)\r\n","issue_id":1667313144681,"origin_id":1277399015,"user_origin_id":36896102,"create_time":1665657364,"update_time":1665657364,"id":1668199842462,"updated_at":"2022-11-11T20:50:42.461000Z","created_at":"2022-11-11T20:50:42.461000Z"},{"_id":"66a39cf6377f1f7a330ca308","body":"win10 I have the same issue; it never shows up \r\n![image](https:\/\/user-images.githubusercontent.com\/61083617\/222969801-42480b90-6887-4e96-8d1d-c45afbdbca2d.png)\r\n","issue_id":1667313144681,"origin_id":1455123171,"user_origin_id":61083617,"create_time":1678030158,"update_time":1678030158,"id":1721998582961,"updated_at":"2024-07-26T12:56:22.960000Z","created_at":"2024-07-26T12:56:22.960000Z"}] comment

## 🐛 Bug Report I noticed that the Debug option in leetcode is not showing up. Either it is not refreshing or not showing up .I using Macbook Pro ##...

Change leetcode debug for Typescript Problems

[{"_id":"636eb89aa63f0c535f5f2905","body":"+1","issue_id":1667313144686,"origin_id":1223400879,"user_origin_id":1690506,"create_time":1661217617,"update_time":1661217617,"id":1668200602260,"updated_at":"2022-11-11T21:03:22.260000Z","created_at":"2022-11-11T21:03:22.260000Z"},{"_id":"66a39cfd377f1f7a330ca30a","body":"need it","issue_id":1667313144686,"origin_id":1397819261,"user_origin_id":62453036,"create_time":1674178371,"update_time":1674178371,"id":1721998589590,"updated_at":"2024-07-26T12:56:29.590000Z","created_at":"2024-07-26T12:56:29.590000Z"}] comment

## 🐛 Bug Report A typescript debugger is required ## To Reproduce Steps to reproduce the behavior. ## Expected behavior A clear and concise description of what you expected to...

debug input 怎么向函数传入多个参数

[{"_id":"636eb54ab928086c8170d972","body":"\u4f8b\u5982\uff1a[4,4,1,5,1]\\n[4,4,1,5,1]\r\n\u66f4\u6839\u672c\u7684\u65b9\u6cd5\uff1a\u5982\u679c\u4f20\u53c2\u62a5\u9519\uff0c\u4f60\u81ea\u5df1\u53ef\u4ee5\u53bb\u7814\u7a76\u4e0bvscode\u62a5\u9519\u5f39\u51fa\u7684python3problem134.py\u6587\u4ef6\uff0c\u90fd\u662fpython\u4ee3\u7801\uff0c\u5f88\u5bb9\u6613\u627e\u5230\u662f\u54ea\u884c\u8bed\u53e5\u5728\u89e3\u6790\u4f60\u4f20\u5165\u7684\u53c2\u6570\uff0c\u4ee5\u53ca\u53c2\u6570\u9700\u8981\u7684\u683c\u5f0f\u3002","issue_id":1667313144693,"origin_id":1204792304,"user_origin_id":19407252,"create_time":1659592371,"update_time":1659592371,"id":1668199754058,"updated_at":"2022-11-11T20:49:14.058000Z","created_at":"2022-11-11T20:49:14.058000Z"},{"_id":"636eb54ab928086c8170d973","body":"\u52a0\u6362\u884c\u7b26: \\n add a newline:\\n","issue_id":1667313144693,"origin_id":1206438167,"user_origin_id":70468377,"create_time":1659704700,"update_time":1659704716,"id":1668199754062,"updated_at":"2022-11-11T20:49:14.062000Z","created_at":"2022-11-11T20:49:14.062000Z"}] comment

## 🚀 Feature Proposal 如题

C++ Debugger Error

[{"_id":"66a39d04b041d13c3e099046","body":"Do you slove this problem?Now I face the this bug similar with you.","issue_id":1667313144700,"origin_id":1696892401,"user_origin_id":57428207,"create_time":1693293089,"update_time":1693293089,"id":1721998596058,"updated_at":"2024-07-26T12:56:36.057000Z","created_at":"2024-07-26T12:56:36.057000Z"},{"_id":"66a39d04b041d13c3e099047","body":"> Do you slove this problem?Now I face the this bug similar with you.\r\n\r\nUnfortunately I didn't.","issue_id":1667313144700,"origin_id":1697122682,"user_origin_id":19699288,"create_time":1693302753,"update_time":1693302753,"id":1721998596063,"updated_at":"2024-07-26T12:56:36.063000Z","created_at":"2024-07-26T12:56:36.063000Z"}] comment

## 🐛 Bug Report I can't seem to get the c++ debugger to work. Terminal does not show any errors but the debugger does not stop on any of the...

## 🐛 Bug Report ![截屏2022-03-29 19 42 55](https://user-images.githubusercontent.com/74601133/160603783-47da3f0e-3730-4517-b7a8-f3b18c54cda3.png) It can not identify my debug input correctly

无法打开源文件 "commoncppproblem1.h"

[{"_id":"636eb231b4ee765e3b0ffbbf","body":"\u6211\u4e5f\u662f\u8fd9\u4e2a\u95ee\u9898\uff0c\u697c\u4e3b\u89e3\u51b3\u4e86\u5417@halo-geng","issue_id":1667313144713,"origin_id":991909529,"user_origin_id":39230165,"create_time":1639319781,"update_time":1639319781,"id":1668198961065,"updated_at":"2022-11-11T20:36:01.064000Z","created_at":"2022-11-11T20:36:01.064000Z"},{"_id":"636eb231b4ee765e3b0ffbc0","body":"\u4e00\u6837\u7684\u95ee\u9898\r\n\r\n","issue_id":1667313144713,"origin_id":1062508540,"user_origin_id":42083734,"create_time":1646795162,"update_time":1646795162,"id":1668198961069,"updated_at":"2022-11-11T20:36:01.069000Z","created_at":"2022-11-11T20:36:01.069000Z"},{"_id":"636eb231b4ee765e3b0ffbc2","body":"\u4e00\u6837\u7684\u95ee\u9898","issue_id":1667313144713,"origin_id":1076180053,"user_origin_id":99643266,"create_time":1648029961,"update_time":1648029961,"id":1668198961086,"updated_at":"2022-11-11T20:36:01.085000Z","created_at":"2022-11-11T20:36:01.085000Z"},{"_id":"66a39d11616525d35f0c2eea","body":"\u9898\u4e3b\u89e3\u51b3\u4e86\u5417\uff0c\u6211\u770b\u5230\u6709\u7684\u535a\u5ba2\u662f\u5c06\u7535\u8111\u539f\u6709\u7684VS\u5378\u8f7d\u4e86\uff0c\u4f46\u662f\u6211\u7684VS\u8fd8\u9700\u8981\u4f7f\u7528\uff0c\u9898\u4e3b\u7528\u7684\u662f\u4ec0\u4e48\u529e\u6cd5\u5462","issue_id":1667313144713,"origin_id":1346042086,"user_origin_id":62145129,"create_time":1670832160,"update_time":1670832160,"id":1721998609695,"updated_at":"2024-07-26T12:56:49.695000Z","created_at":"2024-07-26T12:56:49.695000Z"},{"_id":"66a39d11616525d35f0c2eeb","body":"\u6211\u4e0d\u7528vscode\u8c03\u8bd5\u4ee3\u7801\u4e86\uff0c\u7528\u7684lightly\u5728\u7ebf\u8c03\u8bd5\uff0c\u4e00\u4e2a\u5728\u7ebf\u7f16\u7a0b\u7f51\u7ad9\u3002\u8fd8\u633a\u597d\u7528\u3002\u628a\u4ee3\u7801\u590d\u5236\u8fdb\u53bb\u5c31\u80fd\u8c03\u8bd5\u4e86","issue_id":1667313144713,"origin_id":1346062800,"user_origin_id":39230165,"create_time":1670832889,"update_time":1670832889,"id":1721998609698,"updated_at":"2024-07-26T12:56:49.698000Z","created_at":"2024-07-26T12:56:49.698000Z"},{"_id":"66a39d11616525d35f0c2eec","body":"\u6211\u4e00\u76f4\u7528\u7684\u662fvscode \u8c03\u8bd5\uff0c\u4f46\u662f\u6211\u5374\u5fd8\u8bb0\u6211\u662f\u5982\u4f55\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u5f97\u4e86","issue_id":1667313144713,"origin_id":1382165216,"user_origin_id":42083734,"create_time":1673630710,"update_time":1673630710,"id":1721998609702,"updated_at":"2024-07-26T12:56:49.702000Z","created_at":"2024-07-26T12:56:49.702000Z"},{"_id":"66a39d11616525d35f0c2eee","body":"1. \u70b9\u51fb\u627e\u4e0d\u5230\u7684\u5934\u6587\u4ef6\u7684\u5c0f\u706f\u6ce1\uff0c\u9009\u7b2c\u4e00\u4e2a **Edit \"includePath\" setting**\r\n2. \u7136\u540e\u4f1a\u8df3\u8f6c\u5230c\/c++ configuration\uff0c\u627e\u5230**include path**\uff0c\u5c06\u4e0b\u8ff0\u5730\u5740\u590d\u5236\u8fdb\u53bb**C:\\Users\\Yourusername\\AppData\\Roaming\\Code\\User\\globalStorage\\wangtao0101.debug-leetcode**\uff0c\u5176\u4e2dYourusername\u4e3a\u4f60\u7684\u7528\u6237\u540d\u3002\r\n\r\n- \u82e5\u6b64\u5730\u5740\u5931\u6548\uff0c\u4f60\u53ef\u4ee5\u70b9\u51fbdebug\uff0c\u5728\u4e0b\u65b9\u4f60\u7684debug console\u4e2d\u4f1a\u6709\u4e00\u4e2a\u5305\u542bwangtao0101.debug-leetcode\u7684\u5730\u5740\u8fd9\u5c31\u662f\u8be5\u63d2\u4ef6\u751f\u6210\u6587\u4ef6\u7684\u5730\u5740\u3002\r\n\r\n\u7b2c\u4e00\u6b21\u5728github\u4e2d\u56de\u7b54issue\uff0c\u82e5\u89e3\u51b3\u4e86\u8bf7\u70b9\u4e2a\u8d5e\u8ba9\u66f4\u591a\u4eba\u770b\u89c1","issue_id":1667313144713,"origin_id":1750249391,"user_origin_id":89840229,"create_time":1696583405,"update_time":1696583627,"id":1721998609708,"updated_at":"2024-07-26T12:56:49.707000Z","created_at":"2024-07-26T12:56:49.707000Z"},{"_id":"66a39d11616525d35f0c2eef","body":"\u8fd9\u4e2a\u867d\u7136\u62a5\u9519\uff0c\u4f46\u4e0d\u4f1a\u5f71\u54cd\u8c03\u8bd5\u554a","issue_id":1667313144713,"origin_id":1761753705,"user_origin_id":42083734,"create_time":1697212948,"update_time":1697212948,"id":1721998609713,"updated_at":"2024-07-26T12:56:49.712000Z","created_at":"2024-07-26T12:56:49.712000Z"},{"_id":"66a39d11616525d35f0c2ef1","body":"\u6211\u53bb\uff0c\u786e\u5b9e\u4e0d\u5f71\u54cd\u8c03\u8bd5\uff0c\u767d\u642d\u4fe9\u5c0f\u65f6","issue_id":1667313144713,"origin_id":2228945623,"user_origin_id":133876694,"create_time":1721061788,"update_time":1721061788,"id":1721998609717,"updated_at":"2024-07-26T12:56:49.717000Z","created_at":"2024-07-26T12:56:49.717000Z"}] comment

## 🐛 Bug Report 无法打开源文件 "commoncppproblem1.h" ## Your Environment - _os_: Windows 10 - _extension settings_: - _nodejs version_: - _vscode version_: - _extension version_:

## 🚀 Feature Proposal A clear and concise description of what the feature is. 什么时候支持下《剑指offer》 ## Motivation Please outline the motivation for the proposal. ## Contribution Please describe the solution...

MacOS 11.4 M1 Debug ERROR

[{"_id":"636ec2f7a63f0c535f5f317a","body":"modify file `\/Users\/bianhao\/.vscode\/extensions\/wangtao0101.debug-leetcode-0.2.3\/out\/src\/debug\/executor\/cppExecutor.js`. The type of in funtion getClangDefaultConfig is lldb.\r\n![Pasted image 20220315190928](https:\/\/user-images.githubusercontent.com\/33709251\/158367963-992f1499-4af0-41fb-a620-efa83709a78c.png)\r\n Main reason: MAC uses lldb instead of cppdbg by default.","issue_id":1667313144724,"origin_id":1067880402,"user_origin_id":33709251,"create_time":1647343629,"update_time":1647343629,"id":1668203255819,"updated_at":"2022-11-11T21:47:35.818000Z","created_at":"2022-11-11T21:47:35.818000Z"}] comment

## Debug ERROR ERROR: Unable to start debugging. Unexpected LLDB output from command "-exec-run". process exited with status -1 (attach failed ((os/kern) invalid argument)) ## Using CodeLLDB that comes with...

Can not debug locked problem

[{"_id":"636ec53ca63f0c535f5f3360","body":"+1","issue_id":1667313144729,"origin_id":903115453,"user_origin_id":37259082,"create_time":1629551920,"update_time":1629551920,"id":1668203836732,"updated_at":"2022-11-11T21:57:16.732000Z","created_at":"2022-11-11T21:57:16.732000Z"}] comment

## 🐛 Bug Report Can not debug locked problem ## To Reproduce In VS Code, search and select a locked problem, e.g. 305 ![image](https://user-images.githubusercontent.com/1589388/108346112-00055e00-721a-11eb-9efc-fcb5a1fdedcf.png) ## Expected behavior There are shortcuts...

在测试样例包含方法调用的C++题目中报错:Input parameters is not match the problem!

[{"_id":"636ec3c9b928086c8170e64d","body":"@lgx98 \u611f\u8c22\u56de\u590d\uff0c\u54c8\u54c8\uff0c\u5f88\u591a\u9898\u76ee\u4e0d\u80fd\u7528\u7edf\u4e00\u7684\u65b9\u5f0fdebug\uff0c\u5fc5\u987b\u5355\u72ec\u5199\uff0c\u672c\u4eba\u5077\u61d2\u6ca1\u6709\u5b9e\u73b0\u3002\ud83d\ude2d","issue_id":1667313144734,"origin_id":902398032,"user_origin_id":2182570,"create_time":1629429229,"update_time":1629429229,"id":1668203465965,"updated_at":"2022-11-11T21:51:05.964000Z","created_at":"2022-11-11T21:51:05.964000Z"}] comment

在146 155 352 355 380 381 382 460 528 641 705 706 707 710 715 981等题中(不完全统计),使用C++语言,点击Debug后出现报错:Input parameters is not match the problem! 报错可以追溯到这一行: https://github.com/wangtao0101/vscode-debug-leetcode/blob/bbdbb9aaa106a6a74311a83910e7ac3b13453ced/src/debug/executor/cppExecutor.ts#L103 原因是problemType.ts中,对方法调用这类测试样例输入在paramTypes中没有写出对应的类型,而从testCase中利用\\n分割出的params中包含了方法调用的测试输入,导致cppExecutor.ts中params.length==paramsType.length+1。 另外,报错信息存在英文语法错误,可以改为: > The input parameters...