comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Automatic Debug Persepective
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Automatic Debug Persepective [message #57752 is a reply to message #57625] Thu, 20 December 2007 13:10 Go to previous messageGo to previous message
Doug Edmundson is currently offline  Doug Edmundson
Messages: 58
Registered: November 2005
Member
David Fanning wrote:
> Folks,
>
> One of the things I've read is that when an error occurs
> in an IDL program you are "automatically thrown into the
> Debug perspective". Unfortunately, that doesn't appear to
> be the case with me. Is this because I am catching errors
> and handling them myself? If so, is there a way I can
> force the Workbench to change my Perspective programmatically?
>
> Cheers,
>
> David

Hi David,

When IDL execution suspends, the IDL Workbench will ask if you want to
switch to the debug perspective. You can answer "yes" or "no" and also
have it remember your decision. If you've already clicked "no" and had
it remember your decision, then this could be why it isn't automatically
switching. Those decisions can be reset via the preferences. (In the
preferences dialog, search for "debug" and then go under the
"Perspectives" page.)

If you catch your errors, you'll have to put in a "stop" or something to
get the interpreter to suspend. Perhaps do a conditional "stop" if some
debug flag is set?

There's no way to have an IDL program issue commands to the IDL
Workbench. Hmmm. That sends my mind reeling!

Cheers,
Doug
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Where is "Error Log"?
Next Topic: mouse appearance

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 02:45:13 PDT 2025

Total time taken to generate the page: 1.19763 seconds