반응형
VS2010에서 WinForm 프로그램 개발중 DateTimePicker의 ValueChanged 이벤트에 중단점을 걸었는데.. Hit하면 VS와 WinFormApp 둘 다 응답없음이 뜨는 이슈를 겪었다.
https://developercommunity.visualstudio.com/t/debugger-crashes-on-datetimechanged-event/218801
Debugger crashes on DateTimeChanged event
The strange thing is that VS crashes/becomes unresponsive before you can do anything in the debugger. So VS stops at the breakpoint and waits for inpu...
developercommunity.visualstudio.com
다른 원인을 찾았으나 발견되지 않아 커뮤니티를 참고했는데 나 뿐만 아니라 다른 사람도 이미 겪었던 이슈라 자료가 어느 정도 있었다.
![](https://blog.kakaocdn.net/dn/d9HFcW/btq6n6HUxzG/rYUnQAEhNPkh6VyyjwHvP1/img.png)
자세한 원인은 잘 모르지만 해결법은 프로젝트를 32비트(x86) 로 빌드하는거였다.
회사 프로젝트는 Platform target이 AnyCPU로 잡혀있었는데 그럴 경우는 Default 설정인 64비트로 빌드 한다던가..???
사실 글쓰고 있는 지금도 잘 모르겠다.
반응형
'IT Study > C#' 카테고리의 다른 글
[C#] Stopwatch를 사용하여 작업 속도 측정 (0) | 2021.11.22 |
---|---|
[C#][.Net WinForm][오류해결] the designer could not be shown for this file because none of the classes within it can be designed (0) | 2021.11.19 |
[C#] Null이 아니라 EventArgs.Empty를 사용하는 이유? (0) | 2021.05.27 |
[C#] XML Convert to CSV (0) | 2021.03.13 |
[C#] MDI (Multiple Document Interface) (0) | 2021.03.13 |
댓글