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

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

Reply
 
Thread Tools Display Modes
  #16  
Old 09-16-2012, 02:34 AM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

You are doing it incorrectly.

Under C/C++ -> General you need Debug Information Format set to Program Database, and under Linker ->Debugging you need Generate Debug Info set to Yes, and a valid filename in Generate Program Database File if there isn't already one there.
Reply With Quote
  #17  
Old 09-16-2012, 03:13 AM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

Alright, it works now. Thank you very much.
Reply With Quote
  #18  
Old 09-16-2012, 09:23 PM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

Actually, I cannot get the debugger to attach to zone.exe. The only options for debugging are start new instance or step into new instance and both just tell me that zone.exe is not running even when it is.
Reply With Quote
  #19  
Old 09-16-2012, 10:12 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

Debug -> Attach to process, pick the one with the process id you want. It's part of the name of the log file. If you go to that zone and use some # commands you can see which number command log is newest and pick that one.
Reply With Quote
  #20  
Old 09-16-2012, 10:44 PM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

Ok, I must be doing something wrong. I have zone set to build releasebots, I went into zone's properties and changed debug information format to program database (/Zi), set Debugging to yes in linker/debugging and made sure it is generating a file, built the solution, moved over all of my normal .exe files and the zone.pdb file into my build. When I right click on zone and go to debugging though, there is no option to attach to process. It just says start new instance which gives an error message. Do I have to load in the processes or change where it is looking or something like that?
Reply With Quote
  #21  
Old 09-17-2012, 12:48 AM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

Have the zone running
In Visual Studio with the solution loaded, select Debug -> Attach to Process... from the menu. I don't know what you mean when you say you click on zone and go to debugging.
Select proper process in the list according to the instructions above.
Make it crash
Post the call stack from the call stack window which is generally on the lower right. You can also press Alt-7 to find it, or select Debug -> Windows -> Call Stack.
Reply With Quote
  #22  
Old 09-18-2012, 01:15 AM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

I was referring to right clicking zone in the solution explorer so display options like clean, build, and debug. The issue that I had was in the version of visual studio I am using, attach to process is not actually a command in debug when you select it on the task bar. I had to go to tools->Customize->Commands->Menubar:debug->Add Command->Debug->Attach to Process (This is just in case someone else ever has trouble finding attach to process as well). I got it working though and figured out what was causing the zones to crash. Thanks for the help.
Reply With Quote
Reply


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 01:51 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