Not Hitting Breakpoints
by Swaroop Reddy · in Torsion · 11/15/2007 (8:31 am) · 4 replies
I am running torsion with my RTS engine. It does not hit breakpoints in my server folder's game.cs. I can see that he script is executing because I can see my echo statements. I can get it to hit the break points in some files only. I have tried removing the project and .opt files and created a new project but still the same problem. Surely this is a problem that others have faced!!!
About the author
#2
Heres the bug post I made about this a while ago.
www.garagegames.com/mg/forums/result.thread.php?qt=66714
11/17/2007 (9:14 pm)
Are you using TGB 1.5.1? I found that when you exec your script files the spelling of the path & file must match the capitalization of the actual filename or breakpoints will not be hit. This could be an issue in other versions, try it out.Heres the bug post I made about this a while ago.
www.garagegames.com/mg/forums/result.thread.php?qt=66714
#3
Thanks
11/18/2007 (2:07 am)
No it is the older version of the RTS. My spellings are correct. I found out that I can get my client side breakpoints to hit without a problem. My server side break points are hitting only if I set my breakpoint after the server is running. If I set my breakpoint before the server is running and I start debugging and start the server, the breakpoint will not hit. I think the reason is that my server files are being reloaded a second time in game.cs exec statements. I will try to load them only once and see.Thanks
#4
First backup your work.
Next try to merge the entire engine/console folder TGE 1.5 and rebuild. I don't know if this will work clean without merging any other code or if the RTS kit has custom modifications in the console source. You'll have to figure that out.
11/25/2007 (9:56 pm)
@Swaroop - If your using the old RTS kit code i suspect it doesn't have any of the TelnetDebugger fixes that the latest version of TGE has. First backup your work.
Next try to merge the entire engine/console folder TGE 1.5 and rebuild. I don't know if this will work clean without merging any other code or if the RTS kit has custom modifications in the console source. You'll have to figure that out.
Torque Owner Swaroop Reddy