Re: Automatic Debug Persepective [message #57925 is a reply to message #57739] |
Mon, 07 January 2008 11:08   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Mike Galloy writes:
> So in the Preferences, go to the Run/Debug > Perspectives tab. Select
> "IDL Application" in the "Application Types/Launches" section (there
> are two, don't ask me why). To the right, you should see a "Modes/
> Perspectives" section with a "[Debug]" droplist. Select "Debug" (in
> other words, when an "IDL Application" goes into the "Debug" mode,
> then you are saying you want the Workbench to go into the "Debug"
> Perspective).
OK, I have IDL 7 installed on two different machines, both
running Windows XP.
I cannot get them to behave identically with respect to what
happens when I run a program that causes an error. I have
VERY carefully gone into the Preferences->Run/Debug->Launching->
Launch Configurations and turned *everything* on.
Then, I went to Preferences->Run/Debug->Launching->Perspectives
and set the Open the associate perspective when launching button
to "Never" and the Open the associated perspective when an application
suspends to "Always". Then, I VERY carefully made sure that the
Application Types/Launchers for both the IDL Application and the
Program Launcher have the Modes/Perspectives set to "Debug".
I have done this VERY carefully for both machines. I hit
"Apply" on both machines. Now, if I run the very same program
on both machines, and give it input that causes an error, one
machine switches immediately into Debug Perspective and the
other one doesn't do a thing (except report the error, of
course). :-(
I've even exited IDL on both machines, started up, checked
the settings (still both the same) and tried again, with the
same result.
All running IDL 7.0.1.
Any ideas?
One clue. I have mucked around a bit with the debug perspective
on one machine. Closed some windows, moved others around, etc.
Cheers,
David
P.S. On a third machine, at work, running SUSE 10.3, when
I cause the error IDL asks me if I want to go into the
Debug Perspective, I answer no, and it *STILL* throws up
a Debug View window, which I don't want, but doesn't toss
me into Debug Perspective. This has never happened on my
Windows machines. I can't make heads or tails of
the patterns. I was hoping I could explain it to
someone, eventually. :-(
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|