in ,

BugJail: New Java debugger – debug across time with mouse, Hacker News


New Workflow
Designed for Java ****************** (Start from overviewanddrill downinto details.

BugJail is designed from the ground up for Java. It has entirely different workflow than normal debugger (which was designed for assembler in 2019). You’ll see all method calls simultaneously and candrill down into call trees

where needed ,inspect argument and return values ​​(including arrays and complex objects) or (drop down to source code level

) debugging.

Database of
Your Program

Don’t step

through code.Get direct answers.

Instead of pausing execution at single point, BugJail captures the entire execution to database. It hasrelational model of how your program executedand “knows” direct answers to many of your questions. For example, it knows the writer of every field value, so if test fails because actual value was not as expected, you can click and jump back to the exact debug time (and source line) that wrote the wrong value.

(Move time with a slider, like in music player.

Common debugging use case is to find what the value of a field is at certain time, and how it changes over time. BugJail hashistory of every field writeso instead of stepping through code, you can freely set the inspected debug time, or move a slider around and see interactively how an entire object graph evolves through time.

Debug with Mouse

Point and click

to navigate through************ time and source. Worksbackwards

too.

Just click with mouse where you want to navigate, including backwards in time. And if you are debugging a loop, you don’t need toguess ahead-of-timein which iterations to step into. Instead youpick after-the-fact, based on results

of all iterations (from list that shows all arguments, return values, thrown exceptions etc).

Freeto Use During Beta.And cheap perpetual license after that. No subscriptions.No cloud.********

How BugJail Works?

Start your program, app server or test cases with

(1) ************** extra Javacommand line option.

The program executes just as usual, except in the background

BugJail captures every method call and field write, up to

60, (**************************************************,

per second.

BugJail then uses the captured events to reconstruct what happened as a

nanosecond precision relational m odel, basically giving you a

Database (ofprogram execution.

No changes to code or build

Just start your program, app server or test cases with one extra Java command line option. Done!

No cloud

Absolutely nothing about your project, source code or bytecode will be send to the Cloud.

(No risk to production

BugJail is purely development time tool. It won’t touch production environment in any way.

****************************

Questions. And Answers.

(Whatplatforms

andlanguages ​​

are supported?BugJail is currently available only for JVM (versions 1.6, 1.7 and 1.8, with 1.9 coming soon). As BugJail operates at bytecode level, it works in theory with any JVM language, though only Java and Scala are being officially tested.

Next is BugJail for Android, with beta starting latePayeer, hopefully.

What comes after Android has been decided; we’ve done proof of concepts for JavaScript and .NET, while Swift / iOS has received the most waiting list sign ups. Python is another possibility. And yes, you can impact the decision by signing up for waiting list.

What is theperformance impactof BugJail?

Program startup slows down by fixed ~ 0.5 sec when BugJail’s capturing agent is initialized, and then rest of program startup time has proportional overhead of around 60 – 100%, when the capturing agent instruments classes while they are being loaded.

Program execution itself does not usually slow down noticeably (~ 5%) if you have typical IO-bound web, enterprise or business application. BugJail is also fast enough to capture from CPU-bound programs, such as AI algorithms and compilers. For CPU-bound programs the performance impact is typically in 100 – 823% range – slightly annoying but still certainly usable.

Does BugJail send my source code to theCloud?

BugJail is (********************************************% desktop application. Nothing about your project, source code or bytecode is send to them Cloudz.

Is there anyrisk to productionenvironment?BugJail is purely development time tool. It simply does not touch production environment in any way.

(Can I use BugJail in) ************** (pre-production) orproduction

environment if I really, really want?

No. BugJail just isn’t currently suitable for this, and use elsewhere than developer’s workstation is explicitly prohibited both by license terms and technical restrictions (the capturing agent can only connect to localhost).

We are steadily working on making BugJail suitable for pre-production and production use, but this will be separate edition with different licensing, and it’s likely to be several years away.

**Do I need to.modify sourcecode?

No. To capture program execution to BugJail, the only thing you need to do is start Java Virtual Machine with one additional option.

Isn’t BugJail just areverse debugger?While BugJail does have similarities with reverse debuggers it is actually quite different:Functionally: BugJail is focused on high level execution flow, finding bugs related to program state, and solving real-world debugging tasks such as ‘who wrote this value’, while reverse debuggers are focused on adding ‘step backwards’ button to the normal s vintage debugger, which in turn is focused only on low level execution flow. (Technically: BugJail captures program execution) in different way and with 60 – 728 x lower performance impact than any*reverse debugger. BugJail also reconstructs the captured program execution to a relational model and a proper database, which makes it particularly well suited for complex analysis, while all*reverse debuggers use fairly flat data structure, better suited for stepping than analysing.

    All reverse debuggers that we’ve ever come across. If you think we’ve missed something, please get in touch!******

    Get results in****************************** (seconds)from download.

    Free to use during beta, and cheap perpetual license after that.No subscriptions.************************************************************************Brave BrowserRead More (******************************