Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » How to debug "two-language" system?(Python vs C++)
How to debug "two-language" system? [message #1816916] Tue, 12 November 2019 07:34 Go to next message
Aleksey Eclipse is currently offline Aleksey EclipseFriend
Messages: 1
Registered: November 2019
Junior Member
I want to write a program using two languages: Python as a high-level wrapper and C ++ for a small loaded computing kernel. In this case, Python should transfer data to C ++, and then get the result of work. How in this case organize debugging this "two-language" system?

Thank you in advance for your help.

p.s. where I can to ask Python questions?
Re: How to debug "two-language" system? [message #1817137 is a reply to message #1816916] Sat, 16 November 2019 00:44 Go to previous message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
You'll likely need a debugger that can handle both languages.
Here's one link on using GDB with python.

https://stackoverflow.com/questions/7412708/debugging-stepping-through-python-script-using-gdb

There are of course others. For example:
https://stackoverflow.com/questions/51537967/how-to-debug-python-script-in-c-level-using-gdb-give-me-a-simple-example-for-th

The python perspective might have something as well.
You could try here:
https://www.pydev.org/

[Updated on: Sat, 16 November 2019 00:52]

Report message to a moderator

Previous Topic:How to make "make" to print ONLY errors?
Next Topic:Indexer and Arduino headers
Goto Forum:
  


Current Time: Fri Apr 26 06:47:09 GMT 2024

Powered by FUDForum. Page generated in 0.03059 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top