Windbg Configuration

 

Windbg Configuration

Target board(目标机)

  1. Run command      bcdedit /copy {current} /D "Win8 32bit Debug"

If successful, you will get something like this

  1. Copy the      magic number in bracket and run command

bcdedit /debug {4b2fe83e-ce72-11e2-be70-0008caa36394} on

If successful, you will look

  1. Run command      to set connect way.

1394 connect:

bcdedit /dbgsettings 1394 channel:33

Net connect:

bcdedit /dbgsettings net hostip:10.239.82.177 port:51234 key:Roland.1.1.1

you must replace 10.239.82.177 by your host computer IP.

You can change the port value as you like from 49152 through 65535.

You should change the key as you prefer, like 1.2.3.4 or something else. Make sure it will not conflict with others.

If all successful, you can run the command bcdedit /dbgsettings, output is something like this:

COM1 connect:

 

Development debug PC (调试机)

 

1394 connect:

windbg -k 1394:CHANNEL=33

 

Net connect:

windbg -k net:port=n,key=Key

 

 

Windbg_Win8_1394.bat from:Z:\IO_Project\Package\windbg_symbol.rar

Change following path to execute windbg.exe

 

@echo on

set WORKING_ROOT=E:\BYT_IO_PRO\windbg_symbol

set SYMBOL_ROOT=%WORKING_ROOT%\Symbols\Win8_9200

set WinDBG_EXE="%WORKING_ROOT%\Windbg\Debuggers\x86\windbg.exe"

 

set SYMBOL_ONLINE=

set SYMBOL_CUSTOM=

set SYMBOL_ONLINE=srv*%SYMBOL_ROOT%\downloads\*http://msdl.microsoft.com/download/symbols

set _NT_SYMBOL_PATH=cache*%SYMBOL_ROOT%\cache;%SYMBOL_ROOT%\Public;%SYMBOL_ROOT%\Downloads;%SYMBOL_ONLINE%;%SYMBOL_CUSTOM%;

 

cmd /C %WinDBG_EXE% -k 1394:CHANNEL=33

posted @ 2015-02-28 12:35  AIPGLAB  阅读(298)  评论(0编辑  收藏  举报