c++ - Debugging Python when both PyDev and CDT natures in same Eclipse project -


eclipse 4.5 (mars) / windows 7

i have eclipse c/c++ makefile project has both python , c/c++ code. source code checked-out svn repository. build environment via msys shell using project specific configuration script create makefiles in top/sub-directories , 'make', 'make install' build.

my .project file has both pydev , cdt natures configured.

i can switch between pydev , c/c++ perspectives , browse code including right-clicking on symbol , 'open declaration'.

the 'debug' perspective appears specific c/c++ perspective.

do have experience configuring eclipse project allows debug both python , c/c++ code?

after 'googling' around internet, here appears working particular situation:

  1. create c/c++ project (empty makefile project). produces following 3 files in top-level local svn check-out directory:

.settings .cproject .project

note: keep eclipse workspace separate eclipse project.

  1. create separate python project outside of local svn check-out directory.

note: eclipse python project in eclipse workspace.

this creates following 2 files:

.pydevproject .project

  1. copy .pydevproject directory containing .settings, .cproject, , .project files.

  2. copy python 'nature' elements python .project file cdt .project file.

  3. restart eclipse if had been running while editing dot (.) files.

  4. finally, "c/c++ perspective". in 'project explorer" window, pull down 'view menu".

select 'customize view...'. select 'content' tab. uncheck 'pydev navigator content' option.


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -