
[Eclipse] 이클립스 디버깅 모드에서 특정 지점까지만 실행하고 메서드를 강제 리턴하는 방법
·
🚀 from error to study/Normal
🔥 포스팅 계기 이클립스 디버깅 모드에서 특정 지점까지만 실행하고 메서드를 강제 리턴하는 방법을 알아보자 📍 로직 예시와 포스팅 이유👉🏻 이런 로직이 있다고 치자package com.puppy.test;public class Test { public static void main(String[] args) { // TODO Auto-generated method stub Test test = new Test(); int cnt = 0; System.out.println("before cnt: " + cnt); System.out.println("여기 브레이크 포인트를 걸어 봐요"); System.out.println("대충 이 아래부터는 update, insert 등의 로직..