Hi everyone, I know nothing about this source level debug mode so I had read some articles and tried to make this environment,but failed. I do this as I want to observe how SEC phase jump to PEI phase.
#1 build ovmf: build -p OvmfPkg/OvmfPkgIa32.dsc -a IA32 -D DEBUG_ON_SERIAL_PORT -D SOURCE_DEBUG_ENABLE #2 run it alone,ok qemu-system-x86_64.exe -machine pc-q35-2.9 -pflash OVMF32-source-debug.fd -serial stdio #3 redirect serial to tcp,it hints "info: QEMU waiting for connection on: disconnected:tcp:::1:1234,server" qemu-system-x86_64.exe -machine pc-q35-2.9 -pflash OVMF32_source_debug.fd -serial tcp:localhost:1234,server #4,execute "C:\Program Files (x86)\Intel\Intel(R) UEFI Development Kit Debugger Tool\eXdi.exe" /LaunchWinDbg" with follow settings,but failed connect to qemu. # error message box"Unable to open TCP address(localhost:1234):No connection could be made because the target machine actively refused it" [Debug Port] Channel = TCP Server = localhost Port = 1234 I also tried using pipe and com port, all can't connect to qemu,it is very appreciate if anyone could give any baby steps... # other information: my windows:win10 x64 QEMU version:2.10 UDK2017 Microsoft (R) Windows Debugger Version 6.12.0002.633 X86(install by default settings) Intel UEFI Development Debugger Tool 1.5(install by default settings) thank you by krishna _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel