I have been working on linux for a couple of days. I am using gvim for
development. Now I need a debugger and I found out online that pyclewn
<http://pyclewn.sourceforge.net/install.html> is highly recommneded (since
it resembles Visual Studio in windows). I downloaded it and installed it.
Now my question is how do I use it ? I currently run a make file to
generate my executable. How do I integrate pyclewn with that executable ?

Here is what I have done so far in the following order

1 - :Pyclewn         //Starts the program2 - :Cfile myfile .  //myfile
was the output of makefile its the executable3 -  :Cmapkeys
//Shows the mapping of the keys4 -  :S-R           //Run the program

This is what I get

Pyclewn version 1.11.py2 starting a new instance of gdb.

GNU gdb (GDB) Fedora 7.7.1-19.fc20Copyright (C) 2014 Free Software
Foundation, Inc.License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>This is free software: you are free
to change and redistribute it.There is NO WARRANTY, to the extent
permitted by law.  Type "show copying"
and "show warranty" for details.This GDB was configured as
"x86_64-redhat-linux-gnu".Type "show configuration" for configuration
details.For bug reporting instructions, please
see:<http://www.gnu.org/software/gdb/bugs/>.Find the GDB manual and
other documentation resources online
at:<http://www.gnu.org/software/gdb/documentation/>.For help, type
"help".Type "apropos word" to search for commands related to
"word".(gdb) file testReading symbols from test...done.(gdb) mapkeys
  C-B : break "${fname}":${lnum} # set breakpoint at current line
  C-D : down
  C-E : clear "${fname}":${lnum} # clear breakpoint at current line
  C-N : next
  C-P : print ${text}            # print value of selection at mouse position
  C-U : up
  C-X : print *${text}           # print value referenced by word at
mouse position
  C-Z : sigint                   # kill the inferior running program
  S-A : info args
  S-B : info breakpoints
  S-C : continue
  S-F : finish
  S-L : info locals
  S-Q : quit
  S-R : run
  S-S : step
  S-W : where
  S-X : foldvar ${lnum}          # expand/collapse a watched
variable(gdb) runStarting program: /home/admin/Projects/Test/test
[Inferior 1 (process 8788) exited normally(gdb) quitQuitMissing
separate debuginfos, use: debuginfo-install glibc-2.18-16.fc20.x86_64
libgcc-4.8.3-7.fc20.x86_64 libstdc++-4.8.3-7.fc20.x86_64

I  do not get an output or am not sure what to do next ? Any suggestions ?
------------------------------------------------------------------------------
_______________________________________________
Pyclewn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyclewn-general

Reply via email to