1.

Solve : Stack trace - DOS?

Answer»

Is there a way in Windows that I can print out the stack of a program that is being executed from the command prompt? So, for EXAMPLE if I run XX.exe from the command line how can I check which files/references/API CALLS the program is making. Is there a command for the same? I only KNOW of Process Explorer which is Windows GUI based. https://en.wikipedia.org/wiki/Process_Explorer

Anything else from command shell to do what you want would probably have to be a SPECIFICALLY coded program to do this as for DOS can not do this alone to the best of my knowledge.You can use API MONITOR. If the program you are running is a Windows Console program you should see most API invokations. If it is a DOS program an you are running it on 32-bit windows under command, you might see WoW invoking API functions but it probably wouldn't be very useful.

IF you just want to watch what the program does, you can use Process Monitor



Discussion

No Comment Found