GithubHelp home page GithubHelp logo

pydump's People

Contributors

elifiner avatar hajs avatar internetimagery avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

pydump's Issues

Interested in Python3 compatibility?

Howdy,

Found pydump today and have been making changes to make it work in Python3 only.

Are you interested in updates to this script (given its been "idle" for so long)?

If so, then I think I'd try to use six to try to make this Python2/3 compatible. If not, then I'll just keep my Python3 version.

Thanks

View crash in PyDev or other IDE

Is it possible to load a dump in PyDev? If not are there any other IDEs that can be used to view the crash dumps? Also, thanks for the awesome post-mortem debugging tool!

Crashes on cpython 3.10

Repro:

  1. python crash_test.py
  2. python -m pydump crash_test.py.dump

Output:

python -m pydump crash_test.py.dump
Starting pdb...
Traceback (most recent call last):
  File "C:\app\anaconda3\envs\default\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\app\anaconda3\envs\default\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\dev\3rd\pydump\pydump.py", line 312, in <module>
    sys.exit(main() or 0)
  File "C:\dev\3rd\pydump\pydump.py", line 306, in main
    return debug_dump(
  File "C:\dev\3rd\pydump\pydump.py", line 114, in debug_dump
    post_mortem_func(tb)
  File "C:\app\anaconda3\envs\default\lib\pdb.py", line 1639, in post_mortem
    p.interaction(None, t)
  File "C:\app\anaconda3\envs\default\lib\pdb.py", line 351, in interaction
    if self.setup(frame, traceback):
  File "C:\app\anaconda3\envs\default\lib\pdb.py", line 214, in setup
    lineno = lasti2lineno(tb.tb_frame.f_code, tb.tb_lasti)
  File "C:\app\anaconda3\envs\default\lib\pdb.py", line 117, in lasti2lineno
    linestarts = list(dis.findlinestarts(code))
  File "C:\app\anaconda3\envs\default\lib\dis.py", line 458, in findlinestarts
    for start, end, line in code.co_lines():
AttributeError: 'FakeCode' object has no attribute 'co_lines'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.