C++Builder Programming Forum
C++Builder  |  Delphi  |  FireMonkey  |  C/C++  |  Free Pascal  |  Firebird
볼랜드포럼 BorlandForum
 경고! 게시물 작성자의 사전 허락없는 메일주소 추출행위 절대 금지
C++빌더 포럼
Q & A
FAQ
팁&트릭
강좌/문서
자료실
컴포넌트/라이브러리
메신저 프로젝트
볼랜드포럼 홈
헤드라인 뉴스
IT 뉴스
공지사항
자유게시판
해피 브레이크
공동 프로젝트
구인/구직
회원 장터
건의사항
운영진 게시판
회원 메뉴
북마크
볼랜드포럼 광고 모집

C++빌더 Q&A
C++Builder Programming Q&A
[18977] Re:프로그램을 강제로 죽이고 싶습니다.
유영인.Chris [cuperido] 880 읽음    2002-05-29 14:06
다른사람에게 물어보긴 했는데.. 이게 원하는 답변이신지..  -_-a


In my experience, this does not happen only "at times", but sometimes very
frequently, depending on the error. Often this happens if you throw your
own exceptions.

Just yesterday I've had a nightmare trying to debug a program (that
suddenly stopped working, even though it's supposed to ship out on Friday,
bu that's another story...). Admittedly it was my fault - trying to access
an array of pointers beyond bounds <embarrased grin> but to find the
problem I had to work inwards for about 10 levels of function calls to
find the problem. Every time I ran the program it bombed out and took IDE
with it. IDE refused to kill the debugged program and I could only use the
TaskManager to kill IDE, restart it again and set a breakpoint within the
function I knew died. Even when I got to the actual line that was causing
programs and tried to execute it (F8), IDE crashed.

It turned out that the line was throwing an exception (one of exceptions I
defind for this project) and IDE, instead of notifying me, crashed.


Cheers, Jan



현정환 님이 쓰신 글 :
: 프로그램을 런시키면 프로그램이 뜨자나요.
:
: 근데 이게 문제가 생겨서 이 프로그램이 익셉션도 띄우지 않고 그냥 먹통이 되는 수가 있습니다.
:
: 보통 BCB 에서 Control + F2 를 눌르면 강제로 Reset 이 되는데..
:
: 이게 안 되도 "Ignore" , "Abort" , "Retry" 의 3개의 버튼이 있는 박스가 뜰 때가 있습니다.
:
: 그리고 뭘 눌러도 프로그램은 죽지 않습니다.
:
: 이런 경우 작업관리자 (takmgr) 에서 강제로 process 를 죽이려 시도해도
:
: 디버거를 닫으라는 말만 나올 뿐 프로그램은 죽지 않습니다. (강제로 BCB를 죽여도
:
: BCB 만 죽을뿐 run 되고 있는 프로그램은 죽지 않습니다.)
:
: 그래서 어쩔수 없이 재부팅을 하곤 합니다. 이때는 재부팅도 잘 안됩니다.
:
: 이 run 되는 프로그램을 죽이는 방법은 없나요..?
:
: 재부팅하기 넘 지겨워요.. -.-;;
:
: (친구 왈 "그러게 프로그램을 잘 만들문 되자너.. -.-;; 넹...")
:

+ -

관련 글 리스트
18872 프로그램을 강제로 죽이고 싶습니다. 현정환 842 2002/05/25
18977     Re:프로그램을 강제로 죽이고 싶습니다. 유영인.Chris 880 2002/05/29
18986         고맙습니다.. 현정환 747 2002/05/29
18885     Re:프로그램을 강제로 죽이고 싶습니다. 유영인.Chris 849 2002/05/26
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.