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

Home » Public Forums » archive » Re: Seeing Source w/ Debugger
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: Seeing Source w/ Debugger [message #2391 is a reply to message #2389] Fri, 24 June 1994 06:02 Go to previous messageGo to previous message
robijn is currently offline  robijn
Messages: 18
Registered: June 1994
Junior Member
In article <CrvKsA.Lro@hpl.hp.com>, Peter Webb <peter@hpl.hp.com> wrote:
>
> My biggest complaint is that the debugger can only find routines that
> are in the directory in which IDL (or PV-WAVE for that matter, they both
> have the same problem) is started.

That is not true, although I must admit that the filename argument
interpretation of BREAKPOINT could be improved. It all depends how
you compiled the routine. If you type:

.run [path/]func[.pro]

([] indicate optional parts) and the file [path/]func.pro exists, you
should use that name in BREAKPOINT. Otherwise you should prepend the
directory where the file resides _exactly_ as that directory appears
in the !PATH variable.

It would be a good idea to let BREAKPOINT search the path in the same
way as .RUN does. Better still, make the path-search code available as
separate routine as well. I wrote an IDL routine called 'which' that
does the trick for DOS and Unix systems.

If you place 'which.pro' somewhere in the IDL path, you can set your
breakpoints as:

breakpoint, which ([path/]func.pro), ...


Frank
--
_____ ____
/ / / Frank Robijn Internet: Robijn@Strw.LeidenUniv.NL
/___ /___/ Sterrewacht Leiden Bitnet: Robijn@HLERUL51
/ / \ Phone (31) 71 275841 Local: Robijn@HL628
/ / \ Fax : (31) 71 275819 Snail: P.O.Box 9513, 2300 RA Leiden,
The Netherlands
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Which routine (was: Re: Seeing Source w/ Debugger)
Next Topic: 3D bar charting in IDL

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

Current Time: Fri Oct 10 10:21:55 PDT 2025

Total time taken to generate the page: 0.80551 seconds