core icon indicating copy to clipboard operation
core copied to clipboard

[BUG] Python 调试报错

Open zmyiy opened this issue 1 year ago • 5 comments

描述你的问题(Describe the bug) 此版本下,智能提示与 lint 都正常,但是 debug 调试会提示报错:The number of constructor arguments in the derived class s must be >= than the number of constructor arguments of its base class.

Error: The number of constructor arguments in the derived class s must be >= than the number of constructor arguments of its base class.
at /demo/extensions/python/out/client/debugger/debugAdapter/main.js:16:49625
at Array.forEach (<anonymous>)
at e (/demo/extensions/python/out/client/debugger/debugAdapter/main.js:16:49188)
at Object.t.plan (/demo/extensions/python/out/client/debugger/debugAdapter/main.js:16:49703)
at /demo/extensions/python/out/client/debugger/debugAdapter/main.js:16:46360
at e._get (/demo/extensions/python/out/client/debugger/debugAdapter/main.js:16:46269)
at e.get (/demo/extensions/python/out/client/debugger/debugAdapter/main.js:16:44980)
at a.get (/demo/extensions/python/out/client/debugger/debugAdapter/main.js:16:169479)
at new b (/demo/extensions/python/out/client/debugger/debugAdapter/main.js:1:230351)

复现路径(To Reproduce) 用 opensumi IDebugSessionManager.start 进行调试

预期表现(Expected behavior)

环境信息(Environment)

  • OS: [e.g. macOS 11.2 Apple M1/Windows10/Windows11]
  • Browser: [e.g. chrome, safari, electron]
  • OpenSumi Version: [e.g. 2.13.0]

zmyiy avatar Nov 10 '23 07:11 zmyiy