Programming1 gtest에서 debugging할 때 breakpoint가 안되는 문제 google test를 사용하다가 testcase에 breakpoint를 설정했는데 그냥 실행되어 버린다. 아래는 테스트했던 예제들이다. Makefile SRCS = test_add.cpp OBJS = $(SRCS:.cpp=.o) CXX = g++ all: $(OBJS) $(CXX) -o test_add $(OBJS) -L../gtest/mac_lib/ -lpthread -lgtest -lgtest_main .cpp.o: $(CXX) -isystem ../gtest/include -g -std=gnu++11 -c $ 2019. 5. 6. 이전 1 다음