Giter VIP home page Giter VIP logo

pyjdb's People

Contributors

csuter avatar

Stargazers

 avatar

Watchers

 avatar  avatar

pyjdb's Issues

concurrency bug in ThreadReferenceTest.test_resume

test is currently flaky. still investigating.

possibly has something to do with

  • initialization order of main thread vs child thread (see ThreadReferenceTest definition for test class detail)
  • more remotely: javac optimization of test java code. the code basically does nothing (sleeps a couple threads), so maybe the compiler is eliminating code. adding println's affects behavior, somewhat in support of this theory. But it's much more likely the println's affect timing.

assess jvm version compatibility issues

ideally, we would initiate connection, call VirtualMachine.Version(), load the appropriate spec, and give best effort support of all features. ideally backward incompatible features (ie, those that rely on later vm spec like generics in 5) need not expressly acknowledge backward incompatibility. it may be the case that post-java-5, this is much ado about nothing (or very little). then again, debugging legacy code sucks and there's probably plenty of stuff out there running on an older vm and it would be cool if folks could use this tool to make that drudgery a bit more "fun".

deadlock in pyjdwp

observed at random when tests are run.

commit d3ede4d definitely affected

i've observed tests complete successfully, one fail (that uses event handling non-trivially), and hang on several different tests:

  • ThreadReferenceTest.test_resume
  • ClassTypeTest.invoke_method

appears to happen in Jdwp.register_event_callback

port picking in test setup is fragile

in the time between our finding it and using it for the test jvm jdwp port, there is nothing preventing the os from reusing the port we just ascertained to be unused a moment before. depending on port allocation scheme, may even be more likely than, say, trying random numbers above 10000 or something until it doesn't fail.

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.