Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-dev] "Step Into" a java method programmatically

Thanks for the hint, this "Run to line" seems exactly what I'm looking for.

Am 16.09.21 um 21:00 schrieb Sarika Sinha:
Breakpoints are internally created as markers and are permanent till it is not deleted. But the concept of "Run to line" in JDT debugger can be of help in this scenario. This Runs to the line number of the current caret position( if there is no breakpoint in between).
Thanks,
Sarika

    ----- Original message -----
    From: "Christoph Läubrich" <laeubi@xxxxxxxxxxxxxx>
    Sent by: "jdt-dev" <jdt-dev-bounces@xxxxxxxxxxx>
    To: "Eclipse JDT general developers list." <jdt-dev@xxxxxxxxxxx>
    Cc:
    Subject: [EXTERNAL] [jdt-dev] "Step Into" a java method programmatically
    Date: Thu, Sep 16, 2021 7:41 PM
    I'm currently develop a debugger for a text-based language [1] that maps
    to java methods when executing, this works quite well, but now I'd like
    to add a "step-into" for it.

    Stepping into such a step (in the screenshot in the link line 7) would
    mean that I have matched each line to a java method before, and now I'd
    like the java(!) debugger to stop there the next time this method is
    entered. The jvm is already in debug mode and I can set a breakpoint
    manually to archive what is desired but of course this should work
    automatic so if I choose "step into" in my degubber it results in a stop
    in that particular method only once and invisible to the user.

    Is this somehow possible with jdt to have such a "temporary" breakpoint?

    [1] https://github.com/cucumber/cucumber-eclipse/discussions/441
    <https://github.com/cucumber/cucumber-eclipse/discussions/441>
    _______________________________________________
    jdt-dev mailing list
    jdt-dev@xxxxxxxxxxx
    To unsubscribe from this list, visit
    https://www.eclipse.org/mailman/listinfo/jdt-dev
    <https://www.eclipse.org/mailman/listinfo/jdt-dev>




_______________________________________________
jdt-dev mailing list
jdt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jdt-dev



Back to the top