[Tracing] Is there a way to break the whole project ?

06/21/2012 03:09 badguy4you#1
i want to break (use breakpoints) the whole project so i can trace every single step the server&client do for better understanding ?
06/21/2012 03:10 Zeroxelli#2
CTRL + ALT + BREAK

Or, Debug menu > Break all
06/21/2012 03:12 badguy4you#3
Did not work ( I am using Microsoft Visual Studio 2010 : Ultimate)

and i dont have Break All at debug menu too

Img

06/21/2012 03:15 Zeroxelli#4
You must "Start Debugging" first.
06/21/2012 03:16 badguy4you#5
oh thx Zero :P i think it worked wasnt know that i must start debug :D
06/21/2012 03:19 Zeroxelli#6
Quote:
Originally Posted by badguy4you View Post
oh thx Zero :P i think it worked wasnt know that i must start debug :D
No problem. Alternatively, you can go and click on the line inside a certain packet you want to log, and press F9 to add a breakpoint there, then it will stop each time that packet is sent.
06/21/2012 03:23 badguy4you#7
i want to trace all cuz i want to know the directions only . but when i make break all it break only 1 time then when click continue it just resume without breaking

i want as if i clicked F9 on the whole project so i can see step by step
06/21/2012 03:26 Zeroxelli#8
Quote:
Originally Posted by badguy4you View Post
i want to trace all cuz i want to know the directions only . but when i make break all it break only 1 time then when click continue it just resume without breaking

i want as if i clicked F9 on the whole project so i can see step by step
Yes, continue cancels the break. Use the F11 key to "step into" the next action the program takes. :)
06/21/2012 03:31 badguy4you#9
Aww it will be aloooooooooooooooong journey :D
06/21/2012 03:34 Zeroxelli#10
Quote:
Originally Posted by badguy4you View Post
Aww it will be aloooooooooooooooong journey :D
Yep, it can be slow, but very helpful.
06/21/2012 06:21 Spirited#11
You might just want to start breakpointing at the top of the socket system in each connect and receive method. The you can just use the step buttons to step in or over code as it runs.
06/21/2012 08:03 2slam#12
good luck asa7by.
06/21/2012 19:25 badguy4you#13
Quote:
Originally Posted by 2slam View Post
good luck asa7by.
thx asade2y :D