Re: [Emc-developers] How to debug python scripts

2014-07-01 Thread Marius Liebenberg
On 2014-07-01 20:10, andy pugh wrote: > On 1 July 2014 18:48, Charles Steinkuehler wrote: > >> I've generally found that: >> >>realtime stop >>halrun -U >> >> ...fixes up most problems, but then I generally play around in user >> space and not kernel mode. > I mainly play around in kernel

Re: [Emc-developers] How to debug python scripts

2014-07-01 Thread andy pugh
On 1 July 2014 18:48, Charles Steinkuehler wrote: > I've generally found that: > > realtime stop > halrun -U > > ...fixes up most problems, but then I generally play around in user > space and not kernel mode. I mainly play around in kernel mode and I have _never_ known halrun -U to work.

Re: [Emc-developers] How to debug python scripts

2014-07-01 Thread Charles Steinkuehler
On 7/1/2014 12:36 PM, Marius Liebenberg wrote: > I am using the print thing now so that helps s lot. > The problem I have with loading the realtime subsystem is that when I > screw up I already have a module loaded that is sometimes difficult to > remove without rebooting the system. I've genera

Re: [Emc-developers] How to debug python scripts

2014-07-01 Thread TJoseph Powderly
On 07/01/2014 12:36 PM, Marius Liebenberg wrote:> I am using the print thing now so that helps s lot. > The problem I have with loading the realtime subsystem is that when I > screw up I already have a module loaded that is sometimes difficult to > remove without rebooting the system. > > so

Re: [Emc-developers] How to debug python scripts

2014-07-01 Thread Marius Liebenberg
I am using the print thing now so that helps s lot. The problem I have with loading the realtime subsystem is that when I screw up I already have a module loaded that is sometimes difficult to remove without rebooting the system. On 2014-07-01 18:18, Charles Steinkuehler wrote: > On 7/1/2014 1

Re: [Emc-developers] How to debug python scripts

2014-07-01 Thread Charles Steinkuehler
On 7/1/2014 10:55 AM, Marius Liebenberg wrote: > > On 2014-07-01 17:37, Sebastian Kuzminsky wrote: >> On 7/1/14 02:40 , Marius Liebenberg wrote: >>> What is the best way (or any way) to debug python scripts that are >>> loaded as hal components. I need to create a break point to see what >>> data

Re: [Emc-developers] How to debug python scripts

2014-07-01 Thread Marius Liebenberg
On 2014-07-01 17:37, Sebastian Kuzminsky wrote: > On 7/1/14 02:40 , Marius Liebenberg wrote: >> What is the best way (or any way) to debug python scripts that are >> loaded as hal components. I need to create a break point to see what >> data arrived into a variable. >> >> Currently I am loading t

Re: [Emc-developers] How to debug python scripts

2014-07-01 Thread Sebastian Kuzminsky
On 7/1/14 02:40 , Marius Liebenberg wrote: > What is the best way (or any way) to debug python scripts that are > loaded as hal components. I need to create a break point to see what > data arrived into a variable. > > Currently I am loading the script with halrun so it does not operate > under lin

[Emc-developers] How to debug python scripts

2014-07-01 Thread Marius Liebenberg
What is the best way (or any way) to debug python scripts that are loaded as hal components. I need to create a break point to see what data arrived into a variable. Currently I am loading the script with halrun so it does not operate under linuxcnc per say. Until it works. -- Regards /Groet