The program of server of a communication that develops with Vs2005 recently, communication after a few hours, amount to with respect to occurrence CPU 100% , news report is regular still; Cross again, interrupted with respect to communication, because this software is more sophisticated, used warehouse of many tripartite. Below this kind of circumstance, how to locate the code that creates dead opportunity or line Cheng?
Debugging condition to fall commonly, dot " time-out " when it is to stop on systematic line Cheng. Each ace helps! ! ! Learn, the side supports! You carry out code section, cancel one part namely, implement one part, looked to cancel which paragraphs of code, cpu takes up small, progressively and narrow range can be found take up the code of Cpu resourceStill have many loop and recursive take up Cpu is bigUpstairs I understand saying reason, I am wanting to have the method with directer what. Platoon division is relatively a few slower. After a few communication disconnect, did not exit a loop.
Cause dead loop to accept information to guide ceaselessly%0D%0A
没有评论:
发表评论