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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 08-14-2011, 06:34 PM
Jujubeez
Fire Beetle
 
Join Date: Aug 2011
Location: Charlotte, NC
Posts: 17
Default

Hey we are debugging it now, but we get the assembly code and not the actual functions. Visual Studio says something about not having symbols loaded. What are we doing wrong? If we can find the function I think we can fix this. This is our call stack below. Thanks for your help!

> Zone.exe!004c76de()
[Frames below may be incorrect and/or missing, no symbols loaded for Zone.exe]
Zone.exe!004c5f20()
KernelBase.dll!769bb9bc()
mswsock.dll!74d46531()
Zone.exe!007807f2()
ntdll.dll!7766ff2e()
KernelBase.dll!769bd1c9()
Zone.exe!0079af92()
kernel32.dll!76e114d1()
Zone.exe!007807d3()
Zone.exe!00716f14()
Zone.exe!004fbb32()
Zone.exe!004d0217()
kernel32.dll!76e114d1()
Zone.exe!007a561f()
Zone.exe!0077d592()
Zone.exe!007a69ca()
Zone.exe!007848df()
kernel32.dll!76e13677()
ntdll.dll!77689f02()
ntdll.dll!77689ed5()
Zone.exe!00430020()
Reply With Quote
  #2  
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
Reply

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 04:48 AM.


 

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