Discussion:
[pyclewn] Debugging curses application remote terminal
Joey Ekstrom
2016-05-23 22:34:37 UTC
Permalink
I'm trying to debug an application that requires i/o. It can never connect
to the terminal. I've tried a bunch of different things. Is there a
tutorial for this?

I would like to:

1- run vim
2- run Pyclewn
3- Cfile app
4- Crun

I'm using tmux. Is there a way to have it create a new window?

-Joey
Xavier de Gaye
2016-05-24 06:32:20 UTC
Permalink
Hi Joey

Two ways to debug a curses application:
1. attach to the running curses application whose pid is PROCESS-ID:
:Pyclewn
:Cfile app
:Cattach PROCESS-ID

2. start the curses application from pyclewn, and run the application in a new terminal, note that Cinferiortty must be run before the application is started:
:Pyclewn
:Cfile app
:Cinferiortty
:Cstart
--
Xavier

Les Chemins de Lokoti: http://lokoti.alwaysdata.net
Loading...