环境:
- Apple M1 Pro 13.0 (22A380)
- gcc 相关版本
gcc --version
Apple clang version 14.0.0 (clang-1400.0.29.202)
Target: arm64-apple-darwin22.1.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
g++ --version
Apple clang version 14.0.0 (clang-1400.0.29.202)
Target: arm64-apple-darwin22.1.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
make --version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i386-apple-darwin11.3.0
Clion 配置
-

-

-

-
操作流程
git clone git clone https://github.com/redis/redis.git
make clean; make
- 启动
the breakpoint will not currently be hit. no executable code is associated with this line
-

-

-
问题:怎样让断点生效,本人是 Javaer ,对 C 环境编译不熟悉,求大佬们指教