codelldb
codelldb copied to clipboard
Erratic stepping on M1 Big Sur 11.4
OS: arm64 apple m1
VSCode version: 1.57.1
Extension version: 1.6.5 (default installation)
Compiler: c++
Build target: mandelbrot example
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
@jiaqiwang969, are you saying that this happens only on m1 mac's and only on MacOS 11.4?
What about Apple's system lldb?
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
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
The same operation is performed on x86_64 machines with no problems with remote-conatiner.