Skip to content

Bring back the integrated debugger #686

Closed

Description

@codeanticode

The integrated debugger is currently disabled due to the changes in the API of the PDE editor in Processing 4:

https://github.com/processing/processing-android/blob/master/mode/src/processing/mode/android/AndroidEditor.java#L88

Activity

  1. rupeshkumar22 commented on Aug 13, 2022

    @rupeshkumar22
    Contributor

    Some progress has been made here - master...rupeshkumar22:processing-android:debuggerImprovements

    The above changes were not sufficient to make it run, adding android:debuggable="true" in the AndroidManifest.xml before running the sketch on the emulator was essential to resolve an issue mentioned here - https://stackoverflow.com/questions/18893656/application-is-waiting-for-the-debugger-to-attach

    For now, Debugger seems to be working fine-
    DebuggerUpAndRunning

    I need some information to test the working of the debugger. Is there any documentation available to test the debugger's functionality? @codeanticode @ranaaditya
    Thanks!

  2. rupeshkumar22 commented on Aug 24, 2022

    @rupeshkumar22
    Contributor

    @codeanticode @ranaaditya I am looking for versions of Android Mode and processing 3 in which the debugger was stable and working well last time when @manav-mj contributed. Do you remember the versions @codeanticode ? I am able to launch and run the debugger but some null pointer exceptions were faced when trying to use Continue, Step buttons. Comparing the changes from the stable debugger branch would be helpful. Currently, I'm going through commit #491 to understand the debugger workflow.

  3. codeanticode commented on Aug 29, 2022

    @codeanticode
    ContributorAuthor

    The debugger should work with version 4.3.0 of the Android mode and version 3.5.4 of Processing.

  4. rupeshkumar22 commented on Aug 29, 2022

    @rupeshkumar22
    Contributor

    Thanks for informing the versions @codeanticode
    A recent catch-up with @ranaaditya has been helpful to understand the debugger and some other functionalities.
    I've reached a stage where AndroidDebugger's step, continue and other button functionalities are working fine. For variable-value window data reflection, we have started using VariableInspector.java in processing4. I have integrated the use of the VariableInspector in the debugger but data is not being reflected in the variable-value window for some reasons. I'm looking into it. Probably, I'll find a solution for the same.
    Thanks

  5. codeanticode commented on Sep 26, 2022

    @codeanticode
    ContributorAuthor

    Solved with #711

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions