Go Back   RunUO - Ultima Online Emulation > RunUO > Server Support on Windows

Server Support on Windows Get (and give) support on general questions related to the RunUO server itself.

Reply
 
Thread Tools Display Modes
Old 11-28-2006, 11:09 AM   #1 (permalink)
Forum Expert
 
Broadside's Avatar
 
Join Date: Jul 2004
Location: Minnesota
Age: 32
Posts: 1,488
Send a message via ICQ to Broadside Send a message via MSN to Broadside Send a message via Yahoo to Broadside
Default Debug Help

I had tried an old tutorial on debuggin and it did not work. Now i can't even find it. Could somone enlighten me on how i can set 2.0 server to debug on a windows xp os so i can find my crash probelms please?
__________________
Broadside ~AkA~ Bad Karma
Broadside is offline   Reply With Quote
Old 11-28-2006, 12:25 PM   #2 (permalink)
Forum Expert
 
Kenko's Avatar
 
Join Date: Dec 2004
Location: Land of the Poor
Posts: 1,828
Send a message via MSN to Kenko
Default

Make a link to your RunUO 2.0 core file and set the target like this:
Quote:
"D:\UOSE\RunUO 2.0\RunUO.exe" -debug
of course, just add -debug, the path will be there, and different probably.
Kenko is offline   Reply With Quote
Old 11-28-2006, 03:49 PM   #3 (permalink)
Forum Expert
 
Broadside's Avatar
 
Join Date: Jul 2004
Location: Minnesota
Age: 32
Posts: 1,488
Send a message via ICQ to Broadside Send a message via MSN to Broadside Send a message via Yahoo to Broadside
Default

will it work the old way by adding to exe -debug? I cannot get it to work in the command prompt or link i get a not recognized as an internal or extrnal command?
__________________
Broadside ~AkA~ Bad Karma
Broadside is offline   Reply With Quote
Old 11-28-2006, 03:58 PM   #4 (permalink)
Forum Expert
 
Join Date: Mar 2005
Location: Berlin, Germany
Age: 27
Posts: 1,136
Send a message via ICQ to Sotho Tal Ker Send a message via MSN to Sotho Tal Ker
Default

Then you are doing something wrong
Code:
C:\RunUO2>runuo.exe -debug
RunUO - [www.runuo.com] Version 2.0, Build 2522.38613
Core: Running on .NET Framework Version 2.0.50727
Core: Running with arguments: -debug
Scripts: Compiling C# scripts...
Sotho Tal Ker is offline   Reply With Quote
Old 11-28-2006, 04:06 PM   #5 (permalink)
Forum Expert
 
Broadside's Avatar
 
Join Date: Jul 2004
Location: Minnesota
Age: 32
Posts: 1,488
Send a message via ICQ to Broadside Send a message via MSN to Broadside Send a message via Yahoo to Broadside
Default

Ok i had my folder renamed with a space in between i changed it and it worked thank you for the demonstration post that helped me out i was getting frustrated. ++karma to ya all if i can
__________________
Broadside ~AkA~ Bad Karma
Broadside is offline   Reply With Quote
Old 11-28-2006, 06:26 PM   #6 (permalink)
Forum Newbie
 
Join Date: Mar 2006
Posts: 10
Default

Can you help me? I dont understand how use debug
How insert breakpoints? How view variables when program is runing?
pilgrim_ss is offline   Reply With Quote
Old 11-28-2006, 07:05 PM   #7 (permalink)
Forum Expert
 
Join Date: Mar 2005
Location: Berlin, Germany
Age: 27
Posts: 1,136
Send a message via ICQ to Sotho Tal Ker Send a message via MSN to Sotho Tal Ker
Default

That has nothing to do with the "-debug" command line switch.
This switch only makes runuo call the csc compiler with an additional parameter, so that the pdb file is built to.
So when the server does crash it will print out more information: which file the crash happened and which line number.

For real debugging you have to use an IDE like Visual Studio.
Sotho Tal Ker is offline   Reply With Quote
Old 11-28-2006, 08:09 PM   #8 (permalink)
Forum Expert
 
Broadside's Avatar
 
Join Date: Jul 2004
Location: Minnesota
Age: 32
Posts: 1,488
Send a message via ICQ to Broadside Send a message via MSN to Broadside Send a message via Yahoo to Broadside
Default

would somone be interested in posting a tutorial on debugging through microsoft visual express or something? It may narrow down the amount of complicated posts :-P I would but i don't fully understand it yet
__________________
Broadside ~AkA~ Bad Karma
Broadside is offline   Reply With Quote
Old 11-29-2006, 05:14 PM   #9 (permalink)
Master of the Internet
 
Join Date: Oct 2005
Age: 45
Posts: 6,283
Default

That would basically involve teaching someone full use of an IDE, which I highly doubt will happen in a forum. Debugging is not a simple task that can be 'explained', it has to be learned. I suggest a basic programming course.
Malaperth is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5