Ask the Expert

Possible to create a user-defined option to be used in the debug mode?

How can I create a user-defined option to be used in the debug mode? For example, when I'm in debug mode, I can use "F" for Find, "Ev" for eval, etc.
Sorry, the debugger does not let you create your own functions. However, if all you want to do is to run a standard command when the debug screen is up, try setting your attention key to call QCMD, then when you press the attention key you will get a command line.

If you really need additional functions, then look at the Debug API manual. It gives you some idea of how to write a debugger. However, it's a very complex process, and you would have to write a complete replacement for the supplied debugger -- you can't write 'add-on' modules for the supplied debugger.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.

Visit the ITKnowledge Exchange and get answers to your developing questions fast.

Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.

This was first published in January 2005

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: