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

debugger #505

Closed
pao opened this issue Mar 2, 2012 · 22 comments
Closed

debugger #505

pao opened this issue Mar 2, 2012 · 22 comments
Assignees
Milestone

Comments

@pao
Copy link
Member

pao commented Mar 2, 2012

Debugging code is currently print() based. This isn't a particularly great solution.

Spun this issue off of #502 so maybe we can put that one back on topic. (My fault for bringing it up)

@pao
Copy link
Member Author

pao commented Dec 6, 2012

Is there still a work item for an integrated debugger, or does the Debug package reflect the desired approach?

@JeffBezanson
Copy link
Member

We want to have the ability to enter a debugger, say, at the point where an exception is raised, and inspect the environment, without performance loss.

@StefanKarpinski
Copy link
Member

So no, the Debug package, while very useful, doesn't do everything we'd want. But I'm pretty sure we don't need an issue to know that. Although it may be a good place to discuss.

@pao
Copy link
Member Author

pao commented Dec 6, 2012

Figured as much; just looking through my old open issues.

@vtjnash
Copy link
Member

vtjnash commented Feb 1, 2013

what features are absolutely required that can't be added later as updates to the Debug package?

I'm thinking we implement an @trace macro to surround suspect functions that just instruments every possible line with @show, and then close this issue as invalid (not a specific, targetable issue)

@JeffBezanson
Copy link
Member

We need to be able to run at full speed, then poke around in the stack when
something unexpected happens.
On Feb 1, 2013 10:21 AM, "Jameson Nash" [email protected] wrote:

what features are absolutely required that can't be added later as updates
to the Debug package?

I'm thinking we implement an @trace https://github.com/trace macro to
surround suspect functions that just instruments every possible line with
@show https://github.com/show, and then close this issue as invalid
(not a specific, targetable issue)


Reply to this email directly or view it on GitHubhttps://github.com//issues/505#issuecomment-13006723.

@vtjnash
Copy link
Member

vtjnash commented Feb 1, 2013

ok, let me be more specific. what (if anything) is required for 0.1?

@timholy
Copy link
Member

timholy commented Oct 22, 2013

A recent LLDB bug report pointed me to (or reminded me of) this. I'm a little out of my depth when it comes to many of these matters, so let me just ask, might we not be that far away from being able to use GDB as an external-process debugger?

There is also this LLDB-dev thread which seems potentially relevant.

Having personally sunk a lot of time into truncated backtraces (#3469) before declaring defeat, I am quite prepared to believe that getting a debugger working may be a huge job, one that no one is yet ready to tackle. I'd be interested in any assessments from people better-informed than myself about how far they think we might be from this goal.

@stuinzuri
Copy link

Yes, it is a huge job. We (Forio) have brought on @keesvp to take up the development of JuliaStudio full time. His primary mandate is to implement a visual debugger for JuliaStudio. As such he'll need to dig deep into Julia. Expect to hear from him here on github, including PRs, and on the mailing lists. "Soon."

@timholy
Copy link
Member

timholy commented Oct 24, 2013

That's awesome news. I may not be typical, but I do think the lack of a really great debugger is one of the few remaining serious roadblocks for widespread adoption.

@keesvp, wind to your sails!

@keesvp
Copy link

keesvp commented Oct 24, 2013

Thanks. I still am only an egg.

@ghost ghost assigned Keno Nov 17, 2013
@stevengj
Copy link
Member

The MCJIT work (#3922 and #5433) for integration with LLDB, and efforts to emit DWARF info (#5354) to integrate with gdb, should be relevant here.

@tpapp
Copy link
Contributor

tpapp commented Dec 5, 2014

@stuinzuri: will the debugger be tied to JuliaStudio, or is there going to be an exposed API that other IDEs (eg Emacs) can potentially use?

@vchuravy
Copy link
Member

vchuravy commented Dec 5, 2014

@tpapp Keno discussed his progress with the debugger at JuliaCon https://www.youtube.com/watch?v=Wkw2gmzfm1Q

@malmaud
Copy link
Contributor

malmaud commented Jul 6, 2015

And again at this year's JuliaCon.

@ViralBShah
Copy link
Member

@Keno Did you mean to close this?

@Keno
Copy link
Member

Keno commented Apr 2, 2016

Once the METADATA PR is merged.

@ViralBShah
Copy link
Member

The PR is green. Anything holding it?

@dhoegh
Copy link
Contributor

dhoegh commented Apr 2, 2016

How far is Windows support?

@timholy
Copy link
Member

timholy commented Apr 3, 2016

Whoa.

@StefanKarpinski
Copy link
Member

giphy

Bravo, @Keno.

@ViralBShah
Copy link
Member

I believe Windows support is coming soon, but needs some non-trivial work.

cmcaine pushed a commit to cmcaine/julia that referenced this issue Nov 11, 2022
Bumps [cirrus-actions/rebase](https://github.com/cirrus-actions/rebase) from 1.6 to 1.7.
- [Release notes](https://github.com/cirrus-actions/rebase/releases)
- [Commits](cirrus-actions/rebase@99b0226...6e572f0)

---
updated-dependencies:
- dependency-name: cirrus-actions/rebase
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Keno pushed a commit that referenced this issue Oct 9, 2023
dkarrasch pushed a commit that referenced this issue May 8, 2024
Stdlib: SparseArrays
URL: https://github.com/JuliaSparse/SparseArrays.jl.git
Stdlib branch: main
Julia branch: master
Old commit: cb602d7
New commit: a09f90b
Julia version: 1.12.0-DEV
SparseArrays version: 1.12.0
Bump invoked by: @dkarrasch
Powered by:
[BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl)

Diff:
JuliaSparse/SparseArrays.jl@cb602d7...a09f90b

```
$ git log --oneline cb602d7..a09f90b
a09f90b Adjust matvec and matmatmul! to new internal LinAlg interface (#519)
3b30333 ci: run aqua test as a standalone ci job (#537)
df0a154 Add versioned Manifest files to .gitignore (#534)
4606755 Extend `copytrito!` for a sparse source (#533)
33fbc75 SparseMatrixCSC constructor with a Tuple of Integers (#523)
08d6ae1 CI: don't run `threads` tests in Windows GHA CI (attempt 2) (#530)
7408e4b Revert "Don't fail CI if codecov upload fails." (#527)
287e406 Bump julia-actions/setup-julia from 1 to 2 (#524)
b5de0da Don't fail CI if codecov upload fails. (#525)
78dde4c cast to Float64 directly instead of using float (#521)
a5e95ec CI: Add Apple Silicon (macOS aarch64) to the CI matrix (#505)
```

Co-authored-by: Dilum Aluthge <[email protected]>
xlxs4 pushed a commit to xlxs4/julia that referenced this issue May 9, 2024
…aLang#54406)

Stdlib: SparseArrays
URL: https://github.com/JuliaSparse/SparseArrays.jl.git
Stdlib branch: main
Julia branch: master
Old commit: cb602d7
New commit: a09f90b
Julia version: 1.12.0-DEV
SparseArrays version: 1.12.0
Bump invoked by: @dkarrasch
Powered by:
[BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl)

Diff:
JuliaSparse/SparseArrays.jl@cb602d7...a09f90b

```
$ git log --oneline cb602d7..a09f90b
a09f90b Adjust matvec and matmatmul! to new internal LinAlg interface (JuliaLang#519)
3b30333 ci: run aqua test as a standalone ci job (JuliaLang#537)
df0a154 Add versioned Manifest files to .gitignore (JuliaLang#534)
4606755 Extend `copytrito!` for a sparse source (JuliaLang#533)
33fbc75 SparseMatrixCSC constructor with a Tuple of Integers (JuliaLang#523)
08d6ae1 CI: don't run `threads` tests in Windows GHA CI (attempt 2) (JuliaLang#530)
7408e4b Revert "Don't fail CI if codecov upload fails." (JuliaLang#527)
287e406 Bump julia-actions/setup-julia from 1 to 2 (JuliaLang#524)
b5de0da Don't fail CI if codecov upload fails. (JuliaLang#525)
78dde4c cast to Float64 directly instead of using float (JuliaLang#521)
a5e95ec CI: Add Apple Silicon (macOS aarch64) to the CI matrix (JuliaLang#505)
```

Co-authored-by: Dilum Aluthge <[email protected]>
lazarusA pushed a commit to lazarusA/julia that referenced this issue Jul 12, 2024
…aLang#54406)

Stdlib: SparseArrays
URL: https://github.com/JuliaSparse/SparseArrays.jl.git
Stdlib branch: main
Julia branch: master
Old commit: cb602d7
New commit: a09f90b
Julia version: 1.12.0-DEV
SparseArrays version: 1.12.0
Bump invoked by: @dkarrasch
Powered by:
[BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl)

Diff:
JuliaSparse/SparseArrays.jl@cb602d7...a09f90b

```
$ git log --oneline cb602d7..a09f90b
a09f90b Adjust matvec and matmatmul! to new internal LinAlg interface (JuliaLang#519)
3b30333 ci: run aqua test as a standalone ci job (JuliaLang#537)
df0a154 Add versioned Manifest files to .gitignore (JuliaLang#534)
4606755 Extend `copytrito!` for a sparse source (JuliaLang#533)
33fbc75 SparseMatrixCSC constructor with a Tuple of Integers (JuliaLang#523)
08d6ae1 CI: don't run `threads` tests in Windows GHA CI (attempt 2) (JuliaLang#530)
7408e4b Revert "Don't fail CI if codecov upload fails." (JuliaLang#527)
287e406 Bump julia-actions/setup-julia from 1 to 2 (JuliaLang#524)
b5de0da Don't fail CI if codecov upload fails. (JuliaLang#525)
78dde4c cast to Float64 directly instead of using float (JuliaLang#521)
a5e95ec CI: Add Apple Silicon (macOS aarch64) to the CI matrix (JuliaLang#505)
```

Co-authored-by: Dilum Aluthge <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests