PTVS 2.0 Beta: Mixed-Mode Python/C/C++ Debugging overview
Channel:python tools · Length:8:11 · Published:2013-06-26 · Views:7807
Summary
An overview of the PTVS 2.0 beta feature for debugging Python and C/C++ together in one session in Visual Studio.
Why HN recommends it
Linked whenever mixed Python and C++ debugging came up as a neat PTVS feature.
if you want to get a feel for an advanced feature, try — HN, 2015
Python, Ruby & scripting languages · Testing, debugging & developer tools
Subtitles (excerpt)
hello I'm p m and today I will be showing you mixed mode python native debugging and python tools for visual studio for the purposes of this demo we'll start with a simple pre-made solution that consists of a python extension modu written in C++ and a python script that calls various functions and methods in that module first of all we will need to enable native code debugging for this project to do so I open the python project properties dialogue navigate to the debug Tab and enable the native code debugging option now let's try to start debugging the project by navigating to debug start debugging when mix mode debugging is enabled for the first time you will see this dialogue saying that you'll need to bug symbols for your python interpreter most likely you do not have those downloaded yet so click on the download symbols button to open a documentation page which provides direct links to symbols for various supported python interpreters the project that we are debugging is using python 33 and I have cpython 332 32bit installed on this machine so let's get the symbols for that the downloaded symbol files are inside a single zip archive that must be unpacked to some local folder in this case it will be C python through 3
On Hacker News
If you want to get a feel for what PTVS is like, you can watch these short videos: [LINK] 10k foot view web page: [LINK] if you want to get a feel for an advanced feature, try: [VIDEO] — smortaz, 2015-08
very nice! plug: if you happen to be on windows, try PTVS which has nice features like mixed-mode Python/C++ debugging as well cross debugging from Visual Studio <-> linux & MacOS. (it's a free plug-in). [VIDEO] — smortaz, 2013-11
awesome tutorial. if you need a free Python IDE (based on VS) to try the exercises in, we just released PTVS 2.0 Beta: [LINK] . for you gurus, it's got a cool new feature: debugging Python & C++ together: [VIDEO] — smortaz, 2013-06
mini ASK HN: would there be any interest in supporting Julia in Visual Studio? (as a free/oss plugin). i lead the Python Tools for Visual Studio project at msft and would be curious if there is interest. as a side note, if you do you use Python & require Python/C++ debugging, PTVS now supports it: [VIDEO] — smortaz, 2014-01
>[...] you're a hardcore PhD who wants mixed-language Python and C++ debugging [1] [...] It is mentioned. 1: [VIDEO] — bru, 2013-07
Related videos
- Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich · Confreaks · 53:21
- The spelled-out intro to neural networks and backpropagation: building micrograd · Andrej Karpathy · 2:25:52
- How Python was Shaped by leaky Internals, Armin Ronacher, Flask framework · Видео с мероприятий {speach! · 49:55
- RailsConf 2014 - All the Little Things by Sandi Metz · Confreaks · 38:47
- What the heck is the event loop anyway? | Philip Roberts | JSConf EU · JSConf · 26:52
- "Testing Distributed Systems w/ Deterministic Simulation" by Will Wilson · Strange Loop Conference · 40:20
- 🚀 TDD, Where Did It All Go Wrong (Ian Cooper) · DevTernity Conference · 1:03:55
- Bret Victor - Inventing on Principle · Rui Oliveira · 54:20
- How To Design A Good API and Why it Matters · Google TechTalks · 1:00:19
- The Problem with Time & Timezones - Computerphile · Computerphile · 10:12
- Solving Problems the Clojure Way - Rafal Dittwald · Clojure/north · 1:02:26
- Debugging Under Fire: Keep your Head when Systems have Lost their Mind • Bryan Cantrill • GOTO 2017 · GOTO Conferences · 52:34
- "Performance Matters" by Emery Berger · Strange Loop Conference · 42:15
- RailsConf 2016 - Turbolinks 5: I Can’t Believe It’s Not Native! by Sam Stephenson · Confreaks · 37:37
- Brian Goetz - Stewardship: the Sobering Parts · ClojureTV · 1:03:30
- Ruby Midwest 2011 - Keynote: Architecture the Lost Years by Robert Martin · Confreaks · 1:06:38