OSRLogoOSRLogoOSRLogo x Seminar Ad

Everything Windows Driver Development

GoToHomePage xLoginx

    Thu, 14 Mar 2019     118020 members


  Online Dump Analyzer
OSR Dev Blog
The NT Insider
The Basics
File Systems
ListServer / Forum
  Express Links
  · The NT Insider Digital Edition - May-June 2016 Now Available!
  · Windows 8.1 Update: VS Express Now Supported
  · HCK Client install on Windows N versions
  · There's a WDFSTRING?
  · When CAN You Call WdfIoQueueP...ously

I Hooked Up The Debugger Using 1394, and NOW...

I was in a hurry to leave.  "I'll just check this with the debugger, and I'll be out of here" I said to myself as I plugged in the 1394 cable, connecting my dev box to a new target system.

Two quick commands to the bootcfg utility on the target machine:

bootcfg /copy /id 2 /d "1344 DEBUG"
bootcfg /dbg1394 on /id 3 /ch 30

I was just about done.  "Let's see... Start... Shutdown... Restart!" -- I was mumbling to myself as I rebooted the target system and swung around in my chair to fire-up WinDbg on my dev box. I looked at my watch. "Damn, I should have left ten minutes ago," I thought, "but it'll just be another minute now."

But when the target system restarted, it was as slow as molasses. Not just slow, mind you, but painfully, glacially, horribly, slow.  Like, it takes minutes to get to the login prompt slow.

Reboot.  Same problem.

"Chin!" I cursed to out loud as I remembered what I had done wrong.  I had forgotten to disable the 1394 host controller driver on the target system!

Debugging over 1394 is rock solid.  Really.  If you find that you're having problems with 1394 debugging, be sure to check that you've disabled the 1394 host controller driver on the target system (go into device manager, and just set the driver to disabled).  The problems you can see will range from very slow performance (what I was seeing) to lost debugger connections.

Oh yeah.  And never rush trying to do "just one quick check with the debugger."

Related Articles
Enabling Debugging on the Local Machine for Windows XP®
You're Testing Me - Testing WDM/Win2K Drivers
Analyze This - Analyzing a Crash Dump
More on Kernel Debugging - KMODE_EXCEPTION_NOT_HANDLED
Making WinDbg Your Friend - Creating Debugger Extensions
Life Support for WinDbg - New Windows NT Support Tools
Life After Death? - Understanding Blue Screens
Special Win2K PnP Tracing and Checks
All About Lint - PC Lint and Windows Drivers
Bagging Bugs — Avoidance and Detection Tips to Consider

User Comments
Rate this article and give us feedback. Do you find anything missing? Share your opinion with the community!
Post Your Comment

"1394 based debugging"
If you have xp with sp2, the 1394 host controller will be automatically gets disabled. More over, if you have the latest patches for sp2, the system will be much faster. I faced the same problem in my lab setup and by upgrading the latest patches for sp2, I got rid of that nasty problem...

Shouldn't your line say

bootcfg /copy /id 2 /d "1394 DEBUG" instead of bootcfg /copy /id 2 /d "1344 DEBUG" ???

12-Jun-06, Amloorp Anand

Post Your Comments.
Print this article.
Email this article.
bottom nav links