EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Problems with database breakpoint routines.
From: "Rees, NP \(Nick\)" <[email protected]>
To: "Andrew Johnson" <[email protected]>
Cc: "EPICS core-talk" <[email protected]>
Date: Tue, 19 Dec 2006 17:56:21 -0000
Andrew,

Thanks. Could you send me the revised files back so we don't get out of
sync. I have been doing a bit more investigation and there are still
some issues. I'd like to sort it out so I understand it.

Cheers,

Nick Rees
Principal Software Engineer           Phone: +44 (0)1235-778430
Diamond Light Source                  Fax:   +44 (0)1235-446713

> -----Original Message-----
> From: Andrew Johnson [mailto:[email protected]] 
> Sent: 19 December 2006 16:57
> To: Rees, NP (Nick)
> Cc: EPICS core-talk
> Subject: Re: Problems with database breakpoint routines.
> 
> 
> Hi Nick,
> 
> Rees, NP (Nick) wrote:
> > 
> > The dbBkpt changes. Modified R3.14.9-pre2 files are 
> attached, and the
> > diffs are given at the end of this message. The bottom line 
> is that I
> > created a dbBkptInit routine that needs to be called at 
> initialisation,
> > and then most problems go away (I think).
> 
> Thanks; I used that as the basis for what I've committed, 
> which included 
> a little cleanup (I renamed lset_stack_not_empty to 
> lset_stack_count and 
>   maintain its value strictly according to the ellAdd/ellDelete calls.
> 
> > The only question I had was where/how to call the 
> dbBkptInit. Hence the
> > changes to dbBkptRegister so I can call it from the iocsh. 
> However, I
> > really want it to always be called from iocInit, and I 
> don't know the
> > recommended way to do this. I presume I can call initHookRegister in
> > dbBkptRegister, but then it probably doesn't happen in the VxWorks
> > environment. How do I do this in base?
> 
> I didn't add dbBkptInit() as a command like you did, but call it from 
> iocInit() instead.
> 
> The result seems to be less fragile than before, as I didn't 
> manage to 
> cause any crashes in my tests.  The output from the 
> breakpoint commands 
> isn't particularly user-friendly, but this is better than it was.
> 
> - Andrew
> -- 
> There is considerable overlap between the intelligence of the smartest
> bears and the dumbest tourists -- Yosemite National Park Ranger
> 


Replies:
Re: Problems with database breakpoint routines. Andrew Johnson
References:
Re: Problems with database breakpoint routines. Andrew Johnson

Navigate by Date:
Prev: Re: EPICS on Tru64unix and HP-UX Andrew Johnson
Next: Re: Problems with database breakpoint routines. Andrew Johnson
Index: 2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Problems with database breakpoint routines. Andrew Johnson
Next: Re: Problems with database breakpoint routines. Andrew Johnson
Index: 2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·