Jump to content

Can't debug on VisualStudio


Recommended Posts

  • Management

Hello,

When I try to launch the binary directly as debug from visual studio I get this message:

'Exys2Debug.exe' (Win32): Loaded 'D:\Metin2\Cenas Exys2\Source\client_reboot_dev - Copy\binary\Exys2Debug.exe'. Symbols loaded.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\win32u.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32full.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp_win.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbase.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\advapi32.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ole32.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\combase.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\imm32.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ws2_32.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shell32.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmm.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'D:\Metin2\Cenas Exys2\Source\client_reboot_dev - Copy\binary\d3d8.dll'. Module was built without symbols.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\SHCore.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'D:\Metin2\Cenas Exys2\Source\client_reboot_dev - Copy\binary\devil.dll'. Module was built without symbols.
'Exys2Debug.exe' (Win32): Unloaded 'D:\Metin2\Cenas Exys2\Source\client_reboot_dev - Copy\binary\devil.dll'
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\IPHLPAPI.DLL'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\windows.storage.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shlwapi.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel.appcore.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\version.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'D:\Metin2\Cenas Exys2\Source\client_reboot_dev - Copy\binary\granny2.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'D:\Program Files (x86)\Nmap\python27.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\powrprof.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'D:\Metin2\Cenas Exys2\Source\client_reboot_dev - Copy\binary\MSS32.DLL'. Module was built without symbols.
'Exys2Debug.exe' (Win32): Loaded 'D:\Metin2\Cenas Exys2\Source\client_reboot_dev - Copy\binary\SpeedTreeRT.dll'. Module was built without symbols.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\profapi.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Unloaded 'D:\Metin2\Cenas Exys2\Source\client_reboot_dev - Copy\binary\SpeedTreeRT.dll'
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\oleaut32.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dinput8.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ddraw.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmmbase.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmmbase.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\winmmbase.dll'
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\d3dx9_26.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\d3dx9_26.dll'
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dciman32.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dxgi.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9317_none_508dca76bcbcfe81\msvcr90.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'D:\Metin2\Cenas Exys2\Source\client_reboot_dev - Copy\binary\devil.dll'. Module was built without symbols.
'Exys2Debug.exe' (Win32): Loaded 'D:\Metin2\Cenas Exys2\Source\client_reboot_dev - Copy\binary\SpeedTreeRT.dll'. Module was built without symbols.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\d3dx9_26.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'D:\Metin2\Cenas Exys2\Source\client_reboot_dev - Copy\binary\msvcp60.dll'. Module was built without symbols.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\InputHost.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\CoreMessaging.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\CoreUIComponents.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntmarta.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\WinTypes.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\WinTypes.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\WinTypes.dll'
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\WinTypes.dll'. Cannot find or open the PDB file.
'Exys2Debug.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\WinTypes.dll'
'Exys2Debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\uxtheme.dll'. Cannot find or open the PDB file.
¾Ë¸²: ÆÄÀÏ ¸ðµåÀÔ´Ï´Ù.
The eterpack doesn't exist [GameSDK/exys2_armaduras]
The eterpack doesn't exist [GameSDK/exys2_armas]
The eterpack doesn't exist [GameSDK/exys2_construcoes]
The eterpack doesn't exist [GameSDK/exys2_faixas]
The eterpack doesn't exist [GameSDK/exys2_geral]
The eterpack doesn't exist [GameSDK/exys2_mapas]
The eterpack doesn't exist [GameSDK/exys2_monstros]
The eterpack doesn't exist [GameSDK/exys2_npcs]
The eterpack doesn't exist [GameSDK/exys2_portugal]
SYSERR: GameSDK/root: Pack file does not exist

## Network - OffLine Phase ##

SYSERR: CANNOT_FIND_PACK_FILE [locale/pt/atlasinfo.txt]
SYSERR: RunMain Error
SYSERR: granny_shared_vbs:
SYSERR: 	0: 0
SYSERR: 	1: 0
SYSERR: 	2: 0
SYSERR: 	3: 0
SYSERR: 	4: 0
SYSERR: 	5: 0
SYSERR: 	6: 0
SYSERR: 	7: 0
SYSERR: 	8: 0
CResourceManager::__DestroyDeletingResourceMap 0
CResourceManager::__DestroyResourceMap 0
CResourceManager::__DestroyResourceMap 0
CPythonBackground Clear
PythonIME Clear
PythonNetworkMainStream Clear
Python Graphic Clear
--------------------------------------------------------------------- class NEffectUpdateDecorator::CRotationDecorator Pool Capacity 0
--------------------------------------------------------------------- class NEffectUpdateDecorator::CGravityDecorator Pool Capacity 0
--------------------------------------------------------------------- class NEffectUpdateDecorator::CAirResistanceDecorator Pool Capacity 0
--------------------------------------------------------------------- class NEffectUpdateDecorator::CTextureAnimationRandomDecorator Pool Capacity 0
--------------------------------------------------------------------- class NEffectUpdateDecorator::CTextureAnimationCCWDecorator Pool Capacity 0
--------------------------------------------------------------------- class NEffectUpdateDecorator::CTextureAnimationCWDecorator Pool Capacity 0
--------------------------------------------------------------------- class NEffectUpdateDecorator::CNullDecorator Pool Capacity 0
--------------------------------------------------------------------- class NEffectUpdateDecorator::CHeaderDecorator Pool Capacity 0
--------------------------------------------------------------------- class NEffectUpdateDecorator::CTimeEventDecorator<struct DWORDCOLOR> Pool Capacity 0
--------------------------------------------------------------------- class NEffectUpdateDecorator::CTimeEventDecorator<float> Pool Capacity 0
Detected memory leaks!
Dumping objects ->
f:\dd\vctools\crt\vcruntime\src\eh\std_type_info.cpp(102) : {20433} crt block at 0x02FBEC88, subtype 0, 61 bytes long.
 Data: <x   class NEffec> 78 A2 FA 02 63 6C 61 73 73 20 4E 45 66 66 65 63 
f:\dd\vctools\crt\vcruntime\src\eh\std_type_info.cpp(102) : {20430} crt block at 0x02FAA278, subtype 0, 73 bytes long.
 Data: <X   class NEffec> 58 C9 F9 02 63 6C 61 73 73 20 4E 45 66 66 65 63 
f:\dd\vctools\crt\vcruntime\src\eh\std_type_info.cpp(102) : {20427} crt block at 0x02F9C958, subtype 0, 51 bytes long.
 Data: <X   class NEffec> 58 C3 F9 02 63 6C 61 73 73 20 4E 45 66 66 65 63 
f:\dd\vctools\crt\vcruntime\src\eh\std_type_info.cpp(102) : {20424} crt block at 0x02F9C358, subtype 0, 49 bytes long.
 Data: <h   class NEffec> 68 ED FB 02 63 6C 61 73 73 20 4E 45 66 66 65 63 
f:\dd\vctools\crt\vcruntime\src\eh\std_type_info.cpp(102) : {20421} crt block at 0x02FBED68, subtype 0, 63 bytes long.
 Data: <x   class NEffec> 78 E9 FB 02 63 6C 61 73 73 20 4E 45 66 66 65 63 
f:\dd\vctools\crt\vcruntime\src\eh\std_type_info.cpp(102) : {20418} crt block at 0x02FBE978, subtype 0, 64 bytes long.
 Data: <    class NEffec> B8 E7 FB 02 63 6C 61 73 73 20 4E 45 66 66 65 63 
f:\dd\vctools\crt\vcruntime\src\eh\std_type_info.cpp(102) : {20415} crt block at 0x02FBE7B8, subtype 0, 67 bytes long.
 Data: <    class NEffec> F0 02 FA 02 63 6C 61 73 73 20 4E 45 66 66 65 63 
f:\dd\vctools\crt\vcruntime\src\eh\std_type_info.cpp(102) : {20412} crt block at 0x02FA02F0, subtype 0, 58 bytes long.
 Data: <    class NEffec> 18 C4 F9 02 63 6C 61 73 73 20 4E 45 66 66 65 63 
f:\dd\vctools\crt\vcruntime\src\eh\std_type_info.cpp(102) : {20409} crt block at 0x02F9C418, subtype 0, 52 bytes long.
 Data: <    class NEffec> 00 07 FA 02 63 6C 61 73 73 20 4E 45 66 66 65 63 
f:\dd\vctools\crt\vcruntime\src\eh\std_type_info.cpp(102) : {20406} crt block at 0x02FA0700, subtype 0, 53 bytes long.
 Data: <    class NEffec> 00 00 00 00 63 6C 61 73 73 20 4E 45 66 66 65 63 
minkernel\crts\ucrt\src\appcrt\time\gmtime.cpp(167) : {2634} crt block at 0x02F92D70, subtype 0, 36 bytes long.
 Data: <    4           > 15 00 00 00 34 00 00 00 08 00 00 00 04 00 00 00 
minkernel\crts\ucrt\src\appcrt\locale\setlocale.cpp(64) : {232} crt block at 0x02F7A170, subtype 0, 6 bytes long.
 Data: <    C > 01 00 00 00 43 00 
minkernel\crts\ucrt\src\appcrt\locale\wsetlocale.cpp(469) : {230} crt block at 0x02F79F08, subtype 0, 184 bytes long.
 Data: <                > 80 FC C4 00 01 00 00 00 00 00 00 00 01 00 00 00 
minkernel\crts\ucrt\src\appcrt\mbstring\mbctype.cpp(572) : {3} crt block at 0x02F60BD8, subtype 0, 544 bytes long.
 Data: <                > 01 00 00 00 E4 04 00 00 00 00 00 00 00 00 00 00 
minkernel\crts\ucrt\src\appcrt\lowio\osfinfo.cpp(17) : {2} crt block at 0x02F743B8, subtype 0, 3072 bytes long.
 Data: <                > FF FF FF FF FF FF FF FF 00 00 00 00 00 00 00 00 
minkernel\crts\ucrt\src\appcrt\internal\per_thread_data.cpp(242) : {1} crt block at 0x02F74028, subtype 0, 868 bytes long.
 Data: <                > A0 1B C5 00 00 00 00 00 00 00 00 00 00 00 00 00 
Object dump complete.
The thread 0x24798 has exited with code 0 (0x0).
The thread 0x2432c has exited with code 0 (0x0).
The thread 0x22ed0 has exited with code 0 (0x0).
The thread 0x224e0 has exited with code 0 (0x0).
The thread 0x1bfac has exited with code 0 (0x0).
The thread 0x1d888 has exited with code 0 (0x0).
The program '[92648] Exys2Debug.exe' has exited with code 0 (0x0).

It opens a cmd but closes it almost instantly...

But if I open the binary from the folder it opens...

Does anyone know how can I work this out?

Thanks

raw

raw

Link to comment
Share on other sites

  • 1 year later...

Tools > Options > Debugging > Native and check Load DLL Exports
Did not work for me.

Tools-> Options-> Debugging-> Symbols. Select checkbox "Microsoft Symbol Servers". Visual Studio will download PDBs automatically.
Works. But Visual Studio connects to the Microsoft Servers. A definite no-no for the company that I am contracting to. No internet access allowed from control system computers.

Tools -> Options -> Debugging -> Output Window -> Module Load Messages -> Off

 

Font:

This is the hidden content, please

  • Metin2 Dev 23
  • Good 4
  • Love 2
  • Love 11
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.