|
다른사람에게 물어보긴 했는데.. 이게 원하는 답변이신지.. -_-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 되는 프로그램을 죽이는 방법은 없나요..?
:
: 재부팅하기 넘 지겨워요.. -.-;;
:
: (친구 왈 "그러게 프로그램을 잘 만들문 되자너.. -.-;; 넹...")
:
|