-1

I'm using kernel debug and enable !amli traceon for a S5 black screen issue.

Since the fail rate is low, I'm setting a S5 loop by application to reproduce this issue. However, I have to break and type-in !amli set spewon traceon verboseon logon every time after system shutdown and power on. Is there anyway to enable acpi trace automatically?

I've tried

windbg.exe -c "!amli set spewon traceon verboseon logon;g"

but it only works on first time to break.

0andriy
  • 4,183
  • 1
  • 24
  • 37
KuanYu
  • 1
  • 1

1 Answers1

0

yiu could use sxe -c. "....yiur cmd here ;g " ibp chec this thread How can I make windbg force load symbols on reconnect?

blabb
  • 8,674
  • 1
  • 18
  • 27
  • Hi blabb, Thanks for the feedback, as I mentioned I've tried windbg.exe -c "!amli set spewon traceon verboseon logon;g" but it seems only works on first time. – KuanYu Aug 11 '17 at 05:14
  • oops sorry i missed that i think or may be i got cofused by the wording works only first time can you elaborate i mean does it entail a reboot do you use .reboot in the attachef windbg every time or reboot is independent from windbg can you issue .reboot from windbg if yes sxe i think should break on each reboot – blabb Aug 11 '17 at 09:06