c# 80% Cpu at once. Can't find where the bug is / (on a game server with 250 online) -


hello made game server in c# big online game. problem out of no 90% cpu usage.

it got stuck on 90% when bug there stays on 90% ever..

so question how can find code failure on simple way because server huge. there .net profilers foor or that?

it got stuck on 90% when bug there stays on 90% ever

that's awesome! got handed holy grail right there friend!

simply attach debugger when gets in state , break. chances you'll break in buggy code, if not keep running , breaking. should there quick if it's using 90% of cpu.

alternatively run through vs's profiler , zoom graph in zone extremely high sustained cpu usage, you'll list of functions use time (assuming it's cpu bound issue, if it's i/o don't think show).


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -