I am trying to make the transition from clewn to pyclewn - I am not currently 
able to run my application under pyclewn-gdb.   I can run a small test program 
just fine, but when I try to run my full application, it just hangs.  I wonder 
how I can debug this situation.

Here is some more detail:

I start pyclewn:

$ pyclewn

>From inside gvim, I type:

:Cfile my_app_file

that starts the gdb window just fine - I can set breakpoints if I want to  - 
map the clewn keys etc. though these steps are not necessary to reproduce the 
problem.

then I type:

:Crun

and it hangs indefinitely.  I can't see that anything is happening anywhere - 
no output from the terminal that I started pyclewn from - the command shows up 
in the console window as (gdb) run - and the :Crun text remains in the gvim 
command window and nothing else happens.  If I try any more Pyclewn commands 
that interact with gdb, it complains about the debugger being busy.

I can do the same sequence on my application using gdb directly and have no 
troubles:

$ gdb
,...
(gdb) file my_app_file
(gdb) run
... and it runs ...

I can do the same sequence using a small hello.C file in pyclewn and have no 
troubles.

I am running Redhat RHEL 6.2 with gdb 7.2-50.el6 and gvim 7.2.411

I decided to upgrade to gvim 7.3 and then ran into a new problem when I 
installed gvim 7.3 to /usr/local/bin - now I get the following error message if 
/usr/local/bin is in my path:

vim  CRITICAL
Exception in pyclewn:

<class 'clewn.ClewnError'>
"pyclewn.vim version does not match pyclewn's:
pyclewn version: "pyclewn-1.8.py2"
pyclewn.vim version: """
source line: "% (pyclewn_version, version))"
at /usr/lib/python2.6/site-packages/clewn/vim.py:381

pyclewn aborting...

I can still run pyclewn using gvim 7.2.411, however, by keeping /usr/local/bin 
out of my path.

Phil

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Pyclewn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyclewn-general

Reply via email to