windbg.info
Home Search
 You are here: arrow Home Forum

Search Our Site

www.windbg.info
Welcome, Guest
Please Login or Register.    Lost Password?
Can macros be set up in WinDbg
(1 viewing) 1 Guest
Go to bottom
TOPIC: Can macros be set up in WinDbg
#4
Will Steele (User)
Posts: 17
User Offline

Another Computer Blog
Can macros be set up in WinDbg 29 Dec 2009 - 19:49
If I want to perform a common task, for instance, load a specific set of assemblies easily with a hotkey, is there a way to do anything along those lines in WinDbg? I am aware of aliases, but, wanted to see if there were any additional or similar options.
 
  Logged IP
  The administrator has disabled public write access.
#5
Robert Kuster (Visitor)
Moderator
Posts: 39
User Offline

Gender: Male www.rkuster.com Location: Slovenia, Europe Birthday: 31 Jan 1978
Re:Can macros be set up in WinDbg 29 Dec 2009 - 20:17 Last Edit: 29 Dec 2009 - 20:46 by .
Hi Will, welcome.

Short answer: Yes.

Long answer: WinDbg offers a quite powerful mechanism called "Debugger Commands Programs". In fact this is a simple script-language where you can use all commands available in WinDbg and some additional control flow tokens. With this in mind you can actually write powerful scripts and conveniently store them into files. From within WinDbg you simply call your script-file in question with "$$><" (the human translation of which is "Run Script File").

I briefly covered this topic in WinDbg. From A to Z!; refer to slides 77-80.


For more details you might also check the official Microsoft documentation:
msdn.microsoft.com/en-us/library/cc266360.aspx

I hope this helps.

Warm Regards, RK
 
Thinking debugging? Think www.windbg.info.
 
  Logged IP
  The administrator has disabled public write access.
Go to top
  up top of page up  
 

Copyright © 2024 WinDbg.info. All Rights Reserved.
Page generated in 0.0003 seconds.