Sysprogs forums › Forums › VisualDDK/VirtualKD discussion › 1394 debugging
- This topic has 8 replies, 3 voices, and was last updated 14 years, 9 months ago by Martin.
-
AuthorPosts
-
January 8, 2010 at 14:39 #139AnonymousParticipant
Hi, I’m unable to debug over 1394. When I’m using WinDbg, everything works without any problem, but when I try to use the VisualDDK I end up with dialog box “Connecting to kernel debug session…”. Moreover I am unable to cancel this dialog – it just waits forever. There is nothing in the “Details…” window. Is there anything I have to set up to make it work?
Martin
January 10, 2010 at 11:07 #1267supportKeymasterCould you please try “Debug->Attach” method, as described in VisualDDK quickstart? (http://visualddk.sysprogs.org/quickstart).
If “1394://” fails, try using “raw://” prefix, as described in the page above.
If using “raw://” solves the problem, please post your complete connection string here, so I can fix the “1394://” implementation.January 19, 2010 at 11:07 #1268AnonymousParticipantHi, I’ve tried 1394://10 and also raw://1394:channel=10 with no success. Result is still the same.
January 19, 2010 at 11:14 #1269supportKeymasterOK, is WinDbg closed when you are connecting from VisualDDK? Have you specified the path to the latest version of Debugging tools in VisualDDK settings? When you use WinDbg, did you specify “1934:channel=0” in command line, or did you use the dialog box?
January 19, 2010 at 12:04 #1270AnonymousParticipantFrom the windbg I can connect to the target using both the command line (windbg -k 1394:channel=10) and the GUI.
I’ve checked that, but I have correct path to the debugging tools – it’s the same path where the windbg resides (C:Program FilesDebugging Tools for Windows)Martin
January 19, 2010 at 12:13 #1271supportKeymasterOk, does the COM-based or VM-based debugging work on your machine? Maybe, the problem global to VisualDDK and not related to 1394 directly? Additionally, maybe it is some kind of a problem with UAC? Does Visual Studio have the same access level, as WinDbg?
January 19, 2010 at 12:19 #1272AnonymousParticipantWell, I don’t have a COM cable and also I don’t have any virtual machine on my PC installed. I have UAC turned off and I am running as a member of local administrators group, so I think that there should not be problem with the privileges.
January 19, 2010 at 12:22 #1273MartinParticipantWell, I’m not sure if it is some new behaviour, because I don’t think that I’ve seen that before – when I try to connect to my target using the VisualDDK, the target machine freezes. When I kill the devenv.exe process (because that is the only way how to close the connection dialog) and open up windbg, I can connect to the target machine – it is paused (it seems like a normal break) and I can resume it to run again.
March 10, 2010 at 20:16 #1274MartinParticipantHi, I have still no luck with debugging. Any ideas?
Just now I’ve installed VMWare Player and ran a WindowsXP in it. I’ve run the vminstall and after reboot the DDKLaunchMonitor started automatically.
In Visual Studio I selected to debug virtual machine, and in that time on the target machine appeared “Discovery request from 10.0.0.50” – that’s address of my machine, so it basically works. When I try to Launch the driver a window opens up and there is:
>>>>>>>> TargetInfo::CleanSystemSymbols(0x0000000000000000,0x002000730077006F)
>>>>>>>> TargetInfo::CleanSystemSymbols(0x0000000000000000,0x0000000000000000)
>>>>>>>> TargetInfo::CleanSystemSymbols(0x0000000000000000,0x0000000000000000)
Restarting kd transport
Opened \.pipekd_WindowsXP
Waiting to reconnect…
READ: Wait for type 7 packet
Resync packet id …Kd sync initial break: on
10 write to 0x1
Send Break in …
10 write to 0x1
10 write to 0x1
10 write to 0x1
and that’s all – it repeats the last line forever.When I run the Virtual Machine Monitor, there is the kd_WindowsXP listed. There is only one difference to your example – I’ve nothing in column “OS” and “Debugger” (there is “yes” on picture on your site), don’t know if that means anything.
Martin
-
AuthorPosts
- You must be logged in to reply to this topic.