Edit a Queue

Most of the time you will know exactly where and when you want to pause program execution and take a look at a queue. The simplest way to do this is adding a source code embed containing a call to QVEdit:

QVEdit(MyQueue,'my comment'

The second (optional) parameter is useful for passing other debugging information to QView's window (it is displayed as part of the window title):

QVEdit(MyQueue, CLIP(loc:var1) & ' ' & RECORDS(MyFile))

If you need to watch a process or window and "decide" when to look at the queue it is a little more difficult. One approach would be to alert a key combination and make a call to QVEdit. Alternatively, you could use the Global template's HotKey facility - see Template Features.