Jump to content
  • 0

Howto Debug?


LordAioria

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  12/31/11
  • Last Seen:  

Hi all,

I have installed visual c++ 2010express with sp1 totally updated.

The process that i follow is:

1. Clean project

2. Rebuild project

This is the output:

========== Rebuild All: 4 succeeded, 0 failed, 0 skipped ==========

Now, i choose Debug menu option -> Options and Settings , at option window , i see Debugging->Symbols and i have checked the option "Microsoft Symbol Servers".

Then i select login-server_sql "subproject", Debug->Start new instance and i see msdos window a few seconds .... after that msdos windows ends and this is the output:

'login-server_sql.exe': Loaded 'C:\RoeR\HD_TRABAJO\trunk\login-server_sql.exe', Symbols loaded.
'login-server_sql.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Symbols loaded (source information stripped).
'login-server_sql.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Symbols loaded (source information stripped).
'login-server_sql.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Symbols loaded (source information stripped).
'login-server_sql.exe': Loaded 'C:\Windows\SysWOW64\ws2_32.dll', Symbols loaded (source information stripped).
'login-server_sql.exe': Loaded 'C:\Windows\SysWOW64\msvcrt.dll', Symbols loaded (source information stripped).
'login-server_sql.exe': Loaded 'C:\Windows\SysWOW64\rpcrt4.dll', Symbols loaded (source information stripped).
'login-server_sql.exe': Loaded 'C:\Windows\SysWOW64\sspicli.dll', Symbols loaded (source information stripped).
'login-server_sql.exe': Loaded 'C:\Windows\SysWOW64\cryptbase.dll', Symbols loaded (source information stripped).
'login-server_sql.exe': Loaded 'C:\Windows\SysWOW64\sechost.dll', Symbols loaded (source information stripped).
'login-server_sql.exe': Loaded 'C:\Windows\SysWOW64\nsi.dll', Symbols loaded (source information stripped).
'login-server_sql.exe': Loaded 'C:\RoeR\HD_TRABAJO\trunk\libmysql.dll', Binary was not built with debug information.
'login-server_sql.exe': Loaded 'C:\Windows\SysWOW64\wsock32.dll', Symbols loaded (source information stripped).
'login-server_sql.exe': Loaded 'C:\Windows\SysWOW64\advapi32.dll', Symbols loaded (source information stripped).
'login-server_sql.exe': Loaded 'C:\Windows\SysWOW64\cryptsp.dll', Symbols loaded (source information stripped).
'login-server_sql.exe': Loaded 'C:\Windows\SysWOW64\rsaenh.dll', Symbols loaded (source information stripped).
'login-server_sql.exe': Loaded 'C:\Windows\SysWOW64\nlaapi.dll', Symbols loaded (source information stripped).
'login-server_sql.exe': Loaded 'C:\Windows\SysWOW64\NapiNSP.dll', Symbols loaded (source information stripped).
'login-server_sql.exe': Loaded 'C:\Windows\SysWOW64\pnrpnsp.dll', Symbols loaded (source information stripped).
'login-server_sql.exe': Loaded 'C:\Windows\SysWOW64\mswsock.dll', Symbols loaded (source information stripped).
'login-server_sql.exe': Loaded 'C:\Windows\SysWOW64\user32.dll', Symbols loaded (source information stripped).
'login-server_sql.exe': Loaded 'C:\Windows\SysWOW64\gdi32.dll', Symbols loaded (source information stripped).
'login-server_sql.exe': Loaded 'C:\Windows\SysWOW64\lpk.dll', Symbols loaded (source information stripped).
'login-server_sql.exe': Loaded 'C:\Windows\SysWOW64\usp10.dll', Symbols loaded (source information stripped).
'login-server_sql.exe': Loaded 'C:\Windows\SysWOW64\imm32.dll', Symbols loaded (source information stripped).
'login-server_sql.exe': Loaded 'C:\Windows\SysWOW64\msctf.dll', Symbols loaded (source information stripped).
'login-server_sql.exe': Loaded 'C:\Windows\SysWOW64\dnsapi.dll', Symbols loaded (source information stripped).
'login-server_sql.exe': Loaded 'C:\Windows\SysWOW64\winrnr.dll', Symbols loaded (source information stripped).
'login-server_sql.exe': Loaded 'C:\Program Files (x86)\Common Files\microsoft shared\Windows Live\WLIDNSP.DLL', Cannot find or open the PDB file
'login-server_sql.exe': Loaded 'C:\Windows\SysWOW64\psapi.dll', Symbols loaded (source information stripped).
'login-server_sql.exe': Loaded 'C:\Windows\SysWOW64\shlwapi.dll', Symbols loaded (source information stripped).
'login-server_sql.exe': Loaded 'C:\Windows\SysWOW64\IPHLPAPI.DLL', Symbols loaded (source information stripped).
'login-server_sql.exe': Loaded 'C:\Windows\SysWOW64\winnsi.dll', Symbols loaded (source information stripped).
'login-server_sql.exe': Loaded 'C:\Windows\SysWOW64\FWPUCLNT.DLL', Symbols loaded (source information stripped).
'login-server_sql.exe': Loaded 'C:\Windows\SysWOW64\rasadhlp.dll', Symbols loaded (source information stripped).
'login-server_sql.exe': Loaded 'C:\Windows\SysWOW64\WSHTCPIP.DLL', Symbols loaded (source information stripped).
The thread 'Win32 Thread' (0xca8) has exited with code 1 (0x1).
The thread 'Win32 Thread' (0x111c) has exited with code 1 (0x1).
The program '[3668] login-server_sql.exe: Native' has exited with code 1 (0x1)

I have tried :

  • Download last rathena trunk version and redo all this process ----> Doesn't work
  • Download and install Visual Studio 2012 Premium and redo all this process ----> Doesn't work

Any other idea, please???? Could you help me??

Thanks in advance

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  303
  • Reputation:   101
  • Joined:  11/13/11
  • Last Seen:  

Now, i choose Debug menu option -> Options and Settings , at option window , i see Debugging->Symbols and i have checked the option "Microsoft Symbol Servers".

You don't need this.

Right click login-server_sql on Solution Explorer and go: Properties -> Configuration Properties -> Debugging, and set Working Directory to $(SolutionDir), Apply and close the dialog.

You need to do this to each server you want to debug.

By default VS set the working directory to the project directory, on eAthena based servers the project dir is inside the root directory of the server so you need to change it to $(SolutionDir) which is the root folder(the folder who's contains the .sln file).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...