Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add commands "sage --lldb", "sage -t --lldb" #31568

Closed
mkoeppe opened this issue Mar 27, 2021 · 15 comments
Closed

Add commands "sage --lldb", "sage -t --lldb" #31568

mkoeppe opened this issue Mar 27, 2021 · 15 comments

Comments

@mkoeppe
Copy link
Contributor

mkoeppe commented Mar 27, 2021

... for debugging on macOS, similar to sage --gdb and sage -t --gdb

Depends on #33627

CC: @yuan-zhou @dimpase @jhpalmieri

Component: scripts

Author: Matthias Koeppe

Branch/Commit: 2f4717b

Reviewer: John Palmieri

Issue created by migration from https://trac.sagemath.org/ticket/31568

@mkoeppe mkoeppe added this to the sage-9.3 milestone Mar 27, 2021
@mkoeppe
Copy link
Contributor Author

mkoeppe commented Apr 2, 2021

comment:1

Moving this ticket to 9.4, as it seems unlikely that it will be merged in 9.3, which is in the release candidate stage

@mkoeppe mkoeppe modified the milestones: sage-9.3, sage-9.4 Apr 2, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.4, sage-9.5 Jul 19, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.5, sage-9.6 Dec 14, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.6, sage-9.7 Apr 1, 2022
@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jul 23, 2022

Dependencies: #33627

@mkoeppe mkoeppe changed the title Add command "sage --lldb" Add commands "sage --lldb", "sage -t --lldb" Jul 23, 2022
@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jul 23, 2022

@mkoeppe

This comment has been minimized.

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jul 23, 2022

Author: Matthias Koeppe

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jul 23, 2022

New commits:

e0c9408Move sage-gdb-commands from src/bin to src/sage/doctest
a9a2fdesrc/sage/doctest/control.py: Get sage-gdb-commands with importlib.resources
793ba4eMerge #33627
e54638eNew commands 'sage --lldb', 'sage -t --lldb'

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jul 23, 2022

Commit: e54638e

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 23, 2022

Changed commit from e54638e to 2f4717b

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 23, 2022

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

6cc5205src/sage/doctest/control.py: When invoking gdb, use sys.executable
9d2c48fsrc/bin/sage, src/sage/doctest/control.py: Eliminate use of sage-gdb-commands
d24b928src/bin/sage (--gdb): Do not try to run cygdb unless SAGE_DEBUG=yes
2f4717bNew commands 'sage --lldb', 'sage -t --lldb'

@dimpase
Copy link
Member

dimpase commented Jul 23, 2022

comment:12

do you mean "for debugging Sage built with clang" ?

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jul 23, 2022

comment:13

Possibly, but I don't have experience with lldb other than on the macOS platform, where using gdb is awkward

@jhpalmieri
Copy link
Member

comment:15

Looks good to me.

@jhpalmieri
Copy link
Member

Reviewer: John Palmieri

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jul 25, 2022

comment:16

Thank you

@vbraun
Copy link
Member

vbraun commented Aug 1, 2022

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

No branches or pull requests

4 participants