프로그래밍

일부 함수의 오작동

PforPepsi 2013. 4. 25. 09:42

발견 사례.

네트워크 통신을 하던 도중, 해당 패킷을 분배해주는 곳 파트 전체가 스킵되는 경우가 발생함.

해결 --> 패킷 분배쪽을 try catch로 감싸서 실행.


특정 코드의 부분이 스킵되는 경우
1. http://stackoverflow.com/questions/9037314/release-mode-skipping-parts-of-code

2.http://stackoverflow.com/questions/4770240/c-code-gets-strangely-skipped-with-no-optimizations-any-ideas-why