Problem solve Get help with specific problems with your technologies, process and projects.

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.


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 last published in January 2005

Dig Deeper on Debugging

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

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

Please create a username to comment.