codelldb icon indicating copy to clipboard operation
codelldb copied to clipboard

Erratic stepping on M1 Big Sur 11.4

Open vadimcn opened this issue 3 years ago • 3 comments

OS: arm64 apple m1 VSCode version: 1.57.1 Extension version: 1.6.5 (default installation) Compiler: c++ Build target: mandelbrot example 2021-07-07 10 08 51

Sorry for waiting. As you can see, the most critical problem is that the debugger pointer gets shifted, which makes it impossible to debug properly. This phenomenon is currently only found on the latest apple m1 big-sur 11.4.

Originally posted by @jiaqiwang969 in https://github.com/vadimcn/vscode-lldb/issues/479#issuecomment-875216822

vadimcn avatar Jul 07 '21 02:07 vadimcn

@jiaqiwang969, are you saying that this happens only on m1 mac's and only on MacOS 11.4?
What about Apple's system lldb?

vadimcn avatar Jul 07 '21 02:07 vadimcn

It works in macos Catalina x86_64, but in my MacOS 11.4 mac, problem occurs. So, I have to try another way: run in romote-container: linux - aarch64 GNU/Linux. Error:when I try to install numpy, using pip, as follows: (lldb) pip Traceback (most recent call last): File "/home/dealii/.vscode-server/extensions/vadimcn.vscode-lldb-1.6.5/adapter/console.py", line 11, in pip runpy.run_module('pip', run_name='main', alter_sys=True) File "/home/dealii/.vscode-server/extensions/vadimcn.vscode-lldb-1.6.5/lldb/lib/python3.9/runpy.py", line 206, in run_module mod_name, mod_spec, code = _get_module_details(mod_name) File "/home/dealii/.vscode-server/extensions/vadimcn.vscode-lldb-1.6.5/lldb/lib/python3.9/runpy.py", line 141, in _get_module_details raise error("No module named %s" % mod_name) ImportError: No module named pip

2021-07-07 10 52 16

jiaqiwang969 avatar Jul 07 '21 02:07 jiaqiwang969

It works in macos Catalina x86_64, but in my MacOS 11.4 mac, problem occurs. So, I have to try another way: run in romote-container: linux - aarch64 GNU/Linux. Error:when I try to install numpy, using pip, as follows: (lldb) pip Traceback (most recent call last): File "/home/dealii/.vscode-server/extensions/vadimcn.vscode-lldb-1.6.5/adapter/console.py", line 11, in pip runpy.run_module('pip', run_name='main', alter_sys=True) File "/home/dealii/.vscode-server/extensions/vadimcn.vscode-lldb-1.6.5/lldb/lib/python3.9/runpy.py", line 206, in run_module mod_name, mod_spec, code = _get_module_details(mod_name) File "/home/dealii/.vscode-server/extensions/vadimcn.vscode-lldb-1.6.5/lldb/lib/python3.9/runpy.py", line 141, in _get_module_details raise error("No module named %s" % mod_name) ImportError: No module named pip

2021-07-07 10 52 16

The same operation is performed on x86_64 machines with no problems with remote-conatiner.

jiaqiwang969 avatar Jul 07 '21 03:07 jiaqiwang969