vs2010 debug hotspot 找不到pdb

cheney_love 2014-07-28
昨天还好好的,今天突然就不行了,java.dll和zip.dll 这几个的pdb找不到

'hotspot.exe': Loaded 'C:\Windows\System32\msvcr100.dll', Symbols loaded.
'hotspot.exe': Loaded 'C:\Windows\System32\imm32.dll', Symbols loaded (source information stripped).
'hotspot.exe': Loaded 'C:\Windows\System32\msctf.dll', Symbols loaded (source information stripped).
'hotspot.exe': Loaded 'C:\soft\jdk\jre\bin\verify.dll', Cannot find or open the PDB file
'hotspot.exe': Loaded 'C:\soft\jdk\jre\bin\java.dll', Cannot find or open the PDB file
'hotspot.exe': Loaded 'C:\soft\jdk\jre\bin\zip.dll', Cannot find or open the PDB file
The thread '_threadstartex' (0xa64) has exited with code 0 (0x0).
The thread '_threadstartex' (0x750) has exited with code 0 (0x0).
The thread '_threadstartex' (0x81c) has exited with code 0 (0x0).
The thread '_threadstartex' (0xc54) has exited with code 1 (0x1).
The thread '_threadstartex' (0x13c) has exited with code 1 (0x1).
The thread '_threadstartex' (0xdd4) has exited with code 1 (0x1).
The thread '_threadstartex' (0x8ec) has exited with code 1 (0x1).
The thread '_threadstartex' (0xa7c) has exited with code 1 (0x1).
The thread 'Win32 Thread' (0x6ec) has exited with code 1 (0x1).
The program '[4000] hotspot.exe: Native' has exited with code 1 (0x1).


大家有遇到这个问题的吗,谢谢
ZHH2009 2014-07-28
因为你本地的jdk并不是一个调试版本,
按理说只是无法调试java.dll、zip.dll对应的源代而已,
这个影响不大,我的VS也会提示这样的信息,
但是我的环境并不会导致thread异常退出
cheney_love 2014-07-28
ZHH2009 写道
因为你本地的jdk并不是一个调试版本,
按理说只是无法调试java.dll、zip.dll对应的源代而已,
这个影响不大,我的VS也会提示这样的信息,
但是我的环境并不会导致thread异常退出

奇怪的是我把这几个文件对应的pdb从我自己build的jdk里面copy到这个几个文件对应的目录下面,还是报这个错。不知道为什么?
cheney_love 2014-07-28
cheney_love 写道
ZHH2009 写道
因为你本地的jdk并不是一个调试版本,
按理说只是无法调试java.dll、zip.dll对应的源代而已,
这个影响不大,我的VS也会提示这样的信息,
但是我的环境并不会导致thread异常退出

奇怪的是我把这几个文件对应的pdb从我自己build的jdk里面copy到这个几个文件对应的目录下面,还是报这个错。不知道为什么?

可能是版本不一样也不行吧,我改成了自己build的jdk,symbol可以load了,但还是报错

'hotspot.exe': Loaded 'C:\jdk7u\build\windows-i586\j2sdk-image\jre\bin\verify.dll', Symbols loaded.
'hotspot.exe': Loaded 'C:\jdk7u\build\windows-i586\j2sdk-image\jre\bin\java.dll', Symbols loaded.
'hotspot.exe': Loaded 'C:\jdk7u\build\windows-i586\j2sdk-image\jre\bin\zip.dll', Symbols loaded.
The thread '_threadstartex' (0xe4c) has exited with code 0 (0x0).
The thread '_threadstartex' (0xb9c) has exited with code 0 (0x0).
The thread '_threadstartex' (0xe50) has exited with code 0 (0x0).
The thread '_threadstartex' (0x8f4) has exited with code 1 (0x1).
The thread '_threadstartex' (0xdc0) has exited with code 1 (0x1).
The thread '_threadstartex' (0x718) has exited with code 1 (0x1).
The thread '_threadstartex' (0x884) has exited with code 1 (0x1).
The thread '_threadstartex' (0xc28) has exited with code 1 (0x1).
The thread 'Win32 Thread' (0x9c0) has exited with code 1 (0x1).
The program '[1780] hotspot.exe: Native' has exited with code 1 (0x1).
cheney_love 2014-07-28
解决了,可能原因
1.把我要执行的class文件重新build 了一下
2.重启了电脑和vs
3.重新build了hotspot

我怀疑可能是[1]的什么原因。
Global site tag (gtag.js) - Google Analytics