Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 08-14-2011, 07:30 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

There's two options.

1) Build a debug version - easier to debug, but may not crash.

2) Change the release version to include debug information - may be more difficult to debug depending on where the crash is.

To make a debug version:
  • Change the dropdown at the top of the Visual Studio window to Debug or DebugBots, whichever is appropriate for your server
  • Build the solution
  • Copy the files from the Build directory to where you run the server. Zone and World will have different names, and you will need the ZonePerl.pdb file as well
  • Edit the batch file you start the server with to start WorldDebug instead of World
  • Edit your eqemu_config.xml file. Uncomment the <exe> element in the <launcher> section and change the name to ZonePerl.exe
  • Launch everything and debug again

To add debug information to your release version:
  • Right-click the Zone project in the solution explorer and choose Properties
  • Under C/C++ -> General, select Program Database (/Zi)
  • Under Linker -> Debugging, change Generate Debug Info from No to Yes (/DEBUG)
  • Click OK and build. You may need to force a rebuild if build doesn't generate the files
  • Copy zone.exe and zone.pdb from the Build directory to where you run your server
  • Launch everything and debug again
Reply With Quote
 

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

Forum Jump

   

All times are GMT -4. The time now is 12:48 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3