unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#65268: 30.0; Clarifications needed in etc/DEBUG, section for Android
@ 2023-08-13  9:18 Johan Widén
  2023-08-13 11:58 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 4+ messages in thread
From: Johan Widén @ 2023-08-13  9:18 UTC (permalink / raw)
  To: 65268


Note: This is a request for clarifications in emacs 30 documentation. I
submit the bug report using emacs 29.1, information about the
configuration of my current emacs, is irrelevant.

I believe a bit more info is needed: A pointer to "free Android", so
that one can find it and install it, and set it up for emacs and
debugging.

A description on how to debug startup problems that happens very early
in emacs startup, such as when a library object file is missing,
or something is corrupt in a library objects initialization.

In Android versions provided from manufacturers one has the developer
option that the app should wait for the debugger to connect, before it
starts up.
-- 
Johan Widén, tel: +46705367346
Risvägen 5 A, 192 73 Sollentuna, SWEDEN





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#65268: 30.0; Clarifications needed in etc/DEBUG, section for Android
  2023-08-13  9:18 bug#65268: 30.0; Clarifications needed in etc/DEBUG, section for Android Johan Widén
@ 2023-08-13 11:58 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-08-16  8:14   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 4+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-08-13 11:58 UTC (permalink / raw)
  To: Johan Widén; +Cc: 65268

Johan Widén <j.e.widen@gmail.com> writes:

> Note: This is a request for clarifications in emacs 30 documentation. I
> submit the bug report using emacs 29.1, information about the
> configuration of my current emacs, is irrelevant.
>
> I believe a bit more info is needed: A pointer to "free Android", so
> that one can find it and install it, and set it up for emacs and
> debugging.

https://replicant.us, or Google's AOSP-based emulator images.  I will
write something to that effect.

Some other versions of Android such as LineageOS also bundle gdbserver.
But we cannot recommend them, as they aren't free software.

> A description on how to debug startup problems that happens very early
> in emacs startup, such as when a library object file is missing,
> or something is corrupt in a library objects initialization.

Would you please elaborate as to what problems you're referring to here?
If a shared library or required symbol is missing, Emacs will not start
up at all, and there won't be anything to debug.

> In Android versions provided from manufacturers one has the developer
> option that the app should wait for the debugger to connect, before it
> starts up.

This is irrelevant towards debug.sh, given that it already conveys that
the system should first wait for a debugger to attach before proceeding
with program startup:

    # Exit if the activity could not be started.
    adb -s $device shell am start -D -n "$package/$activity"
                                  ^^





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#65268: 30.0; Clarifications needed in etc/DEBUG, section for Android
  2023-08-13 11:58 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-08-16  8:14   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-08-16  8:59     ` Johan Widén
  0 siblings, 1 reply; 4+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-08-16  8:14 UTC (permalink / raw)
  To: Johan Widén; +Cc: 65268-done

I've expanded java/DEBUG to mention Gdbserver, and some other specifics
regarding log messages and backtraces.  Closing, thanks.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#65268: 30.0; Clarifications needed in etc/DEBUG, section for Android
  2023-08-16  8:14   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-08-16  8:59     ` Johan Widén
  0 siblings, 0 replies; 4+ messages in thread
From: Johan Widén @ 2023-08-16  8:59 UTC (permalink / raw)
  To: Po Lu; +Cc: 65268-done

Looks great!

Den ons 16 aug. 2023 kl 10:14 skrev Po Lu <luangruo@yahoo.com>:
>
> I've expanded java/DEBUG to mention Gdbserver, and some other specifics
> regarding log messages and backtraces.  Closing, thanks.



-- 
Johan Widén, tel: +46705367346
Risvägen 5 A, 192 73 Sollentuna, SWEDEN





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-08-16  8:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-13  9:18 bug#65268: 30.0; Clarifications needed in etc/DEBUG, section for Android Johan Widén
2023-08-13 11:58 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-16  8:14   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-16  8:59     ` Johan Widén

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).