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

Home » Public Forums » archive » Re: main or procedure
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: main or procedure [message #54607 is a reply to message #54600] Wed, 20 June 2007 17:02 Go to previous messageGo to previous message
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
On Wed, 20 Jun 2007 22:13:45 +0200, Carsten Lechte wrote:

> David Fanning wrote:
>> I still think you might be looking down the wrong end
>> of the gun, at least if my suspicion that there is more
>> than a little bit of sarcasm in the statement above is
>> true. :-)
>
> No sarcasm intended, just cheerful optimism. Since I cannot
> change the IDL sourcecode to suit my whims, I will have to
> adapt IDLWAVE, the mediating layer between me and IDL, to
> keep me from inadvertently compiling a main program when I
> am debugging. That's the price I pay for my what I now know
> to be idiosyncratic use of IDL.

That's not a bad idea... probably C-c C-d C-e should be disabled when
stopped in a program. Of course, if you "retall" yourself at the
command line (instead of using IDLWAVE to do that for you), it can get
confused and think you are still stopped.

I tried this and it works well, prompting if you are stopped at a
breakpoint, error, etc. Look for it in the next release, which is
looking more and more like it will be 6.2 (some fixes since the Emacs
22 v6.1).

You will notice I made the shortcut "e" in electric debug mode do
something else beside run-region (eval an expression). If your block
of code would run line by line, you can always drop the whole thing
onto the command line.

I use run-region a reasonable amount, but never when debugging. Be
sure to try all the rich examine functionality, to print or otherwise
inspect variables or expressions at any place in the stack.

JD
[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
Read Message
Read Message
Previous Topic: Re: Speed and array operations
Next Topic: memory for pixmaps: big vs many

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

Current Time: Wed Oct 08 17:50:53 PDT 2025

Total time taken to generate the page: 0.00452 seconds