| Mirage Source http://web.miragesource.net/forums/ |
|
| help debuging http://web.miragesource.net/forums/viewtopic.php?f=201&t=1279 |
Page 1 of 11 |
| Author: | Forte [ Wed Jan 31, 2007 10:55 pm ] |
| Post subject: | help debuging |
Anyone wanna help me debug? For some reason i get stuck at Connected, Sending login information x_x |
|
| Author: | lordgivemick [ Wed Jan 31, 2007 11:22 pm ] |
| Post subject: | |
i can help you with what i know but if i was you i would first look where the problem is pointed out<<<connection/login part>>> then try to compare it with an original code. that helps out alot. even if it has changed. |
|
| Author: | lucidar [ Thu Feb 01, 2007 6:55 am ] |
| Post subject: | |
Debugging 101! Well you know it's connected sooo... we'll just jump to the server side at start at the beginning.. ish! Server: modServerTCP->Sub IncomingData() Cause a break somewhere after it gets the data!
Just click where that red dot is on any line past 'frmServer.Socket(Index).GetData ~' that'll cause a break in your server, pausing it on that line right before it is executed. Put your mouse over Buffer (anywhere) and make sure it's sendign the right packet. Try the same thing with handledata(), senddatato(), then go to the client and retry until you figure out where it is 'freezing'. Sure, there are faster ways, but thats the funnest You can queue up multiple breaks throughout your source. Just hit F5 or Continue to continue your server as per normal (until/unless it hits another break or soemthing). Be reminded though, causing breaks can lead to 'timeouts' on either client or server side. Even if you already knew this, I'm sure someone else didn't so idc. |
|
| Author: | Verrigan [ Thu Feb 01, 2007 3:03 pm ] |
| Post subject: | |
Don't forget about F8.. (Let's you step through instruction by instruction..) |
|
| Author: | William [ Thu Feb 01, 2007 5:09 pm ] |
| Post subject: | |
Whats the difference on F5 and F8? |
|
| Author: | Dragoons Master [ Thu Feb 01, 2007 6:13 pm ] |
| Post subject: | |
F5 will run the code, and will not stop until a Stop or an error. F8 runs only one comamnd and stops again, very usefull. |
|
| Author: | Forte [ Thu Feb 01, 2007 8:24 pm ] |
| Post subject: | |
ahh i fixed it =] thanks for the help, didint know about F8 and such, unsurprisingly the error was just a bunch of messy coding |
|
| Author: | wanai [ Sun May 15, 2022 9:58 am ] |
| Post subject: | Re: help debuging |
CDRi |
|
| Author: | wanai [ Sun May 15, 2022 9:59 am ] |
| Post subject: | Re: help debuging |
411 |
|
| Author: | wanai [ Sun May 15, 2022 10:00 am ] |
| Post subject: | Re: help debuging |
Mari |
|
| Author: | wanai [ Sun May 15, 2022 10:01 am ] |
| Post subject: | Re: help debuging |
Repr |
|
| Author: | wanai [ Sun May 15, 2022 10:03 am ] |
| Post subject: | Re: help debuging |
Albe |
|
| Author: | wanai [ Sun May 15, 2022 10:04 am ] |
| Post subject: | Re: help debuging |
Ujar |
|
| Author: | wanai [ Sun May 15, 2022 10:05 am ] |
| Post subject: | Re: help debuging |
Jero |
|
| Author: | wanai [ Sun May 15, 2022 10:06 am ] |
| Post subject: | Re: help debuging |
Life |
|
| Author: | wanai [ Sun May 15, 2022 10:07 am ] |
| Post subject: | Re: help debuging |
XVII |
|
| Author: | wanai [ Sun May 15, 2022 10:08 am ] |
| Post subject: | Re: help debuging |
Erni |
|
| Author: | wanai [ Sun May 15, 2022 10:09 am ] |
| Post subject: | Re: help debuging |
DeBo |
|
| Author: | wanai [ Sun May 15, 2022 10:10 am ] |
| Post subject: | Re: help debuging |
EXPE |
|
| Author: | wanai [ Sun May 15, 2022 10:12 am ] |
| Post subject: | Re: help debuging |
Beat |
|
| Author: | wanai [ Sun May 15, 2022 10:13 am ] |
| Post subject: | Re: help debuging |
Lona |
|
| Author: | wanai [ Sun May 15, 2022 10:14 am ] |
| Post subject: | Re: help debuging |
Jewe |
|
| Page 1 of 11 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|