frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Checking Out CPython 3.14's remote debugging protocol

https://rtpg.co/2025/06/28/checking-out-sys-remote-exec/
50•ingve•7h ago

Comments

BossingAround•2h ago
So, IIUIC, new capabilities:

- It'll be possible to print stack traces without modifying or stopping the program.

- It'll be possible to exec into a program at runtime without modifying it.

I'm not sure why the author mentions remote_pdb - this has been with Python for some time, and works since Py 2.7? Not sure what changes in 3.14 for remote_pdb.

What I'm hoping though is improved tooling around debugging Python. Currently, in my experience, VSCode (more specifically, debugpy) provides pretty much unmatched remote debugging capabilities, and I'm really hoping we can have a standardized way to connect any IDE to remote Python processes with the same UX as VSCode.

I would love to use something like Zed, but without remote debugging abilities, the IDE is pretty useless for me. Perhaps better devs don't need remote debugging, but I depend on it more than a junior in college CS program depends on AI :)

jasonjmcghee•2h ago
I thought the author mentioned remote pdb because it sounds like you can use it to attach to cpython now, and previously gdb would have been needed? I'm at last a few years behind on debugging cpython... But always used gdb.
maeln•2h ago
If I understand correctly, this would be very useful to debug application running on GUnicorn, Celery, etc. Apps that usually have several workers / processes / threads. Currently, it is very annoying to use pdb for that. The Debug Adapter Protocol works well for this case, but the only fully feature, and not buggy, client right now is VSCode (last I checked, the nvim implementation was still a bit buggy. Didn't try the Emacs one).

I really like debugging in a simple shell (à la gdb) so this would really be nice for my workflow.

BossingAround•2h ago
When debugging multi-threaded env with debugpy & VSCode, VSCode jumps to code that is active in currently active thread. Is DAP something different? From briefly looking at the docs, it seems like DAP calls debugpy for Python debugging, so we're probably talking about the same experience?
maeln•2h ago
yes debugpy is the implementation of dap for python
frou_dh•2h ago
Seems pretty nice. I was getting worried when it was talking about requiring a third-party library (remote_pdb), but at least it sounds like you can now attach pdb to any running process on the same box using OOTB tooling only.
poulpy123•2h ago
I don't know if it's possible byt I would love to have a debugger that allows to go back in time from a breakpoint or an exception
dripton•1h ago
Yes, the term you're looking for is "reverse debugging". It exists, and it's better.
jasonjmcghee•1h ago
The popular (Linux only) solution is https://rr-project.org/
jasonjmcghee•2h ago
I found this to be a very good official resource on the topic https://peps.python.org/pep-0768/

OneNoughtOne – AI That Turns Conversations into Actions Across Your Digital Life

1•anshik1998•27s ago•0 comments

Show HN: Open-source business management tool for small business

https://github.com/oitcode/samarium
1•zaza12•34s ago•0 comments

Floor796

https://floor796.com/#t1r1,524,201
1•evo_9•44s ago•0 comments

Microsoft software flaw gave hackers access to U.S. nuclear weapons agency

https://qz.com/microsoft-sharepint-hackers-national-nuclear-security-administration
1•mikece•4m ago•0 comments

Show HN: Unlimited Access to Mainstream LLM and Image Generation Model APIs

https://aihubmix.com/
1•akakenl•4m ago•0 comments

Delegation-Oriented FedCM

https://github.com/w3c-fedid/delegation
1•mooreds•5m ago•0 comments

Understanding Debian's Security Processes

https://lwn.net/SubscriberLink/1030669/e8d557e4854dca70/
1•jwilk•6m ago•0 comments

Show HN: Kafka, the first AI employee (NEW SOTA ON GAIA BY 20%)

https://brainbaselabs.com/blog/introducing-kafka-first-ai-employee
1•egrigokhan•8m ago•0 comments

AI might not recursively self improve (part 2)

https://secondsight.dev/2025/07/ai-might-not-recursively-self-improve-part-2/
1•ffwd•8m ago•0 comments

Just Open Sourced NeuralAgent: The AI Agent That Lives on Your Desktop

https://github.com/withneural/neuralagent
2•khalidshadidd•9m ago•0 comments

Creating agentic users, not just agentic AI

https://github.com/manooshree/BuildTogether
1•manooshree•12m ago•1 comments

Space Force begins testing of first OCX software blocks for GPS sats

https://breakingdefense.com/2025/07/space-force-begins-testing-of-first-ocx-software-blocks-for-gps-sats/
3•Jtsummers•14m ago•0 comments

Weapon Systems Annual Assessment

https://www.gao.gov/products/gao-25-107569
1•Jtsummers•15m ago•0 comments

Ask HN: Cofounder Exit Offer

2•sjohns21•15m ago•3 comments

Finding New Opportunity

1•nikunj___2•19m ago•0 comments

Want to Hire

1•nikunj___2•21m ago•0 comments

Apollo 11 in Real Time

https://apolloinrealtime.org/11/mobile/
2•Bluestein•21m ago•0 comments

A Professor's Hunt for the Rarest Chinese Typewriter

https://www.nytimes.com/2025/07/22/nyregion/mingkwai-typewriter-china.html
3•japaget•23m ago•1 comments

Ramparts: A fast, lightweight security scanner for mcp servers

https://github.com/getjavelin/ramparts
1•sharathr•23m ago•1 comments

Zed Editor's Newest Feature: Being Able to Disable All AI Features

https://www.phoronix.com/news/Zed-Option-Disable-AI-Features
1•mikece•25m ago•1 comments

I adapted my film into a text-based adventure

https://kubicki.org/workbench/brain-box/
4•durakot•27m ago•0 comments

The Bundling of Communities

https://www.ministryoftesting.com/memories/the-bundling-of-the-motaverse-has-arrived
2•rosiesherry•28m ago•0 comments

NASA Shares How to Save Camera 370M-Miles Away Near Jupiter

https://www.nasa.gov/missions/juno/nasa-shares-how-to-save-camera-370-million-miles-away-near-jupiter/
4•mzs•29m ago•0 comments

A generic non-invasive neuromotor interface for human-computer interaction

https://www.nature.com/articles/s41586-025-09255-w
3•zhyder•29m ago•0 comments

Open source Gemini Agent with 1000s of MCP servers

https://twitter.com/_philschmid/status/1948025573403492621
1•todsacerdoti•35m ago•0 comments

Superfunctions: Solve the "Color" Problem of Python

https://github.com/pomponchik/transfunctions
2•Bogdanp•36m ago•1 comments

Where Is the Centre of the Universe?

https://www.thehindu.com/sci-tech/science/where-is-the-centre-of-the-universe/article69841164.ece
3•Bluestein•36m ago•0 comments

Thinking Machines and the Second Wave: Why $2B Says Everything About AI's Future

https://www.decodingdiscontinuity.com/p/thinking-machines-second-wave-ai
1•ChrisInFrance•38m ago•1 comments

The proteostatic landscape of healthy human oocytes

https://www.embopress.org/doi/full/10.1038/s44318-025-00493-2
2•PaulHoule•39m ago•0 comments

VMware prevents some perpetual license holders from downloading patches

https://www.theregister.com/2025/07/23/vmware_patch_download_problems/
3•rntn•41m ago•1 comments