# Mojo debugging: extending MLIR and LLDB

**URL:** https://discourse.julialang.org/t/mojo-debugging-extending-mlir-and-lldb/116218
**Category:** Offtopic
**Created:** [June 25, 2024, 6:52pm UTC](https://discourse.julialang.org/t/mojo-debugging-extending-mlir-and-lldb/116218 "2024-06-25T18:52:20Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![xiaoxi](https://avatars.discourse-cdn.com/v4/letter/x/a9adbd/32.png) [@xiaoxi](https://discourse.julialang.org/u/xiaoxi)
#### Post date: [June 25, 2024, 6:52pm UTC](https://discourse.julialang.org/t/mojo-debugging-extending-mlir-and-lldb/116218/1 "2024-06-25T18:52:20Z")

</div>

I wonder if some of these ideas would be useful for Julia.

[![](https://global.discourse-cdn.com/julialang/original/3X/a/1/a11b7cc2e821262d1d98fe10e24aaaec918a3513.jpeg "2024 EuroLLVM - Mojo debugging: extending MLIR and LLDB") ](https://www.youtube.com/watch?v=y85-1g39X3E)

---

<div class="post-metadata">

### Author: ![rveltz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rveltz/32/2707_2.png) [@rveltz](https://discourse.julialang.org/u/rveltz)
#### Post date: [June 25, 2024, 7:13pm UTC](https://discourse.julialang.org/t/mojo-debugging-extending-mlir-and-lldb/116218/2 "2024-06-25T19:13:31Z")

</div>

What do you mean? Julia has a debugger in vscode

---

<div class="post-metadata">

### Author: ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)
#### Post date: [June 25, 2024, 7:15pm UTC](https://discourse.julialang.org/t/mojo-debugging-extending-mlir-and-lldb/116218/3 "2024-06-25T19:15:59Z")

</div>

Yes it has, but it’s sooo … not good.

---

<div class="post-metadata">

### Author: ![xiaoxi](https://avatars.discourse-cdn.com/v4/letter/x/a9adbd/32.png) [@xiaoxi](https://discourse.julialang.org/u/xiaoxi)
#### Post date: [June 25, 2024, 8:06pm UTC](https://discourse.julialang.org/t/mojo-debugging-extending-mlir-and-lldb/116218/4 "2024-06-25T20:06:46Z")

</div>

> [@rveltz](#):
>
> What do you mean?

Since LLDB doesn’t have first-class support for non-clang-based languages, the Mojo developers had to modify LLDB to have the features they wanted.

 ![image](https://global.discourse-cdn.com/julialang/original/3X/5/6/56b2f0ef5b4f90a9b1ab1df6ee54db6c4e44f6e0.png)
