Q

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

This Content Component encountered an error
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

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.

0 comments

Oldest 

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:

-ADS BY GOOGLE

SearchEnterpriseLinux

SearchDataCenter

Close