The general error information is as follows:
API server listening at: [::]:57824
debugserver-@(#)PROGRAM:LLDB PROJECT:lldb-1200.0.44
for x86_64.
error: failed to launch process /Library/Developer/CommandLineTools/Library/PrivateFrameworks/LLDB.framework/Versions/A/Resources/debugserver: (os/kern) invalid argument
Exiting.
I use go 1.16, which supports arm architecture. The reason for this problem is that go debug needs DLV tool, which also needs arm architecture.
The easiest way to solve this problem is to go to the official website to update GoLand. Pay attention to go to the official website to download the latest arm version again. Usually, the update prompted in the IDE can only be regarded as a patch, not a big version update. In this way, the debugging tools of IDE are adapted to arm architecture.
Of course, due to various reasons that cannot be described, some users may not be suitable to go to the official website to update, so you can refer to this link https://youtrack.jetbrains.com/issue/GO-10235#focus =Comments-27-4632451.0-0
Download the DLV debugging tool of arm architecture, and then configure it in IDE.
Read More:
- Solve the problem of VC 6.0 fatal error C1033: cannot open program database’.\debug\vc60.pdb’
- When the MAC M1 uiautomatorviewer is opened, it displays blank or reports an error
- Remove M Characters “Control M” or “^M” or “CTRL M” Characters in a UNIX file
- Mac bigsur cannot create other directory solutions in the root directory (M1 chip is also applicable)
- To solve the problem of repeated password input when operating sourcetree on MAC
- How to solve the problem of no sound after Apple Mac recovers from sleep?
- Idea for Mac setting JVM running parameters to solve running stuck problem
- The use of makefile in GoLand under Windows
- PHP big file upload problem (500m or above)
- The problem of MAC switching JDK version and RN Android JDK version leads to compilation failure. Solve it
- GoLand:Unresolved reference ‘NewFunction‘
- To solve the problem of “failed to load vmmr0. R0” (Verr) of VirtualBox under Mac OS X_ SUPLIB_ WORLD_ Writable) “error
- error: goland –build constraints exclude all Go files
- Line wrap of GoLand code
- Internalerror: blas GEMM launch failed: A. shape = (100, 784), B. shape = (784, 10), M = 100, n = 10… Problem solving
- The problem can not be viewed in the corner log of the Mac computer
- The solution of GDB code designed problem in Mac OS X
- Solve the problem of using in tensoft 2. X tf.contrib.slim No module named appears in the package: tensorflow.contrib problem
- ArcGIS Earth 1.7 beta installation method-solve the 0X80070057.DirectX device creation failed problem
- Error report of GoLand project after go reloading Error:cannot find The solution of package error