jaredly / jaredly/pydbgp

Running pydbgp in IronPython

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
36
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Hi,
I've been moderately successful trying to run pydbg in IronPython - I can import it, I can run

> ipy -X:FullFrames dbg.py -d localhost:9000

and I get the dbg> shell and INFO:dbg:Listening on localhost:9000

So far so good.

But then I try running

> ipy -X:FullFrames pydbgp.py debugme.py

which should connect to the dbg shell.

When the dbg shell is not running, this returns "unable to connect", but when the dbg shell is on, the debugme.py script runs in its entirety right away (prints all output) and the dbg shell tells me there are no active sessions.

When I run the same commands, the same debugme.py with Python2.7, it stops before executing the debugme.py, the dbg shell has the session connected.

But I haven't got much further than that - there are no errors, no exceptions...

I'm working with IronPython 2.7.5b1

I'll appreciate any pointers, I'd love having remote debugging capabilities in IronPython.

Thanks.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the behavior with dbg.py, pydbgp.py, and debugme.py under IronPython 2.7.5b1, then compare it with the same commands under Python 2.7. Start with the connection and execution flow exposed by the two commands. Done means an IronPython-launched debugme.py creates an active session and pauses for the dbg shell as the CPython run does.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.