CDB does not show a line of code like WinDBG for calls

I am using WinDBG 6.12.0002.633 X86.

I have a problem with a CDB command line debugger not showing the same results as WinDBG for the k and kL commands.

In WinDBG, the k command correctly displays a line of code for a call, where the kL command correctly transmits this information and displays only the offset.

 1:128:armce> k Child-SP RetAddr Call Site 761efaf4 78013cdc module_78010000!SomeModule::Foo+0xb4 [bar.cpp @ 268] 1:128:armce> kL Child-SP RetAddr Call Site 761efaf4 78013cdc module_78010000!SomeModule::Foo+0xb4 

In CDB, the results of k and kL identical:

 1:128:armce> k Child-SP RetAddr Call Site 761efaf4 78013cdc module_78010000!SomeModule::Foo+0xb4 1:128:armce> kL Child-SP RetAddr Call Site 761efaf4 78013cdc module_78010000!SomeModule::Foo+0xb4 

What can I do to make the CDB display a line of code for the k command, like WinDBG does?

+4
source share
1 answer

Try running the ".lines" command to force the loading of line information. WinDBG by default loads downloadable information, CDB and NTSD do not.

+5
source

Source: https://habr.com/ru/post/1391499/


All Articles