How to debug in windows visual studio ?

63 views
Skip to first unread message

ashish negi

unread,
Sep 7, 2013, 3:01:01 AM9/7/13
to appj...@googlegroups.com
I am using VS2010 and all my changes in options are done is Visual Studio IDE.

When i opened the binding.sln and in debug mode tried to build :

1. It gave errors of no node.lib in my C:/../.node.gyp/DEBUG/node.lib -> i created DEBUG folder at that location and copied node.lib from RELEASE folder into it. And build again.

2. It gave errors of _ITERATION_DEBUG_LEVEL. I set it to 0 in the "preprocessor directives" . After it it got build, and when i started debugging it with setting "Target" in "debugging options" to app.exe in app folder it gave errors:

'app.exe': Loaded 'C:\D_CEF\appjs\appjs\app\app.exe', Binary was not built with debug information.
'app.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file
'app.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file
'app.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file
'app.exe': Loaded 'C:\Windows\SysWOW64\user32.dll', Cannot find or open the PDB file
'app.exe': Loaded 'C:\Windows\SysWOW64\gdi32.dll', Cannot find or open the PDB file
'app.exe': Loaded 'C:\Windows\SysWOW64\lpk.dll', Cannot find or open the PDB file
'app.exe': Loaded 'C:\Windows\SysWOW64\usp10.dll', Cannot find or open the PDB file
'app.exe': Loaded 'C:\Windows\SysWOW64\msvcrt.dll', Cannot find or open the PDB file
'app.exe': Loaded 'C:\Windows\SysWOW64\advapi32.dll', Cannot find or open the PDB file
'app.exe': Loaded 'C:\Windows\SysWOW64\sechost.dll', Cannot find or open the PDB file
'app.exe': Loaded 'C:\Windows\SysWOW64\rpcrt4.dll', Cannot find or open the PDB file
'app.exe': Loaded 'C:\Windows\SysWOW64\sspicli.dll', Cannot find or open the PDB file
'app.exe': Loaded 'C:\Windows\SysWOW64\cryptbase.dll', Cannot find or open the PDB file
'app.exe': Loaded 'C:\Windows\SysWOW64\imm32.dll', Cannot find or open the PDB file
'app.exe': Loaded 'C:\Windows\SysWOW64\msctf.dll', Cannot find or open the PDB file
The program '[7880] app.exe: Native' has exited with code 3 (0x3).

What should i do ?

ashish negi

unread,
Sep 8, 2013, 11:58:11 PM9/8/13
to appj...@googlegroups.com
Finally got this. 
Rather then running app.exe run node.exe

In VS options of debugging set "Target" as "<appjs>/data/bin/node.exe"
with "command arguments" as "--harmony <appjs>/data/app.js"  <- quotes only for understanding.
Reply all
Reply to author
Forward
0 new messages