Mario Zupan
Feb 9, 2021 ⋅ 13 min read

Debugging Rust apps with GDB

Mario Zupan I'm a software developer originally from Graz but living in Vienna, Austria. I previously worked as a full-stack web developer before quitting my job to work as a freelancer and explore open source. Currently, I work at Netconomy.

Recent posts:

Leveraging Wasp For Full-Stack Development

Leveraging Wasp for full-stack development

Learn how the Wasp, Web Application Specification, framework simplifies full-stack development by offloading repetitive code tasks.

Wisdom Ekpotu
May 27, 2024 ⋅ 11 min read
Developing Web Extensions With Wxt

Developing web extensions with the WXT library

Browser extensions are an important part of the web ecosystem. They make our lives easier and enhance our web browsing […]

Debjyoti Banerjee
May 24, 2024 ⋅ 8 min read
Bulma Css Adoption Guide: Overview, Examples, And Alternatives

Bulma CSS adoption guide: Overview, examples, and alternatives

Explore how Bulma CSS simplifies frontend development with its ease of use and customizable, responsive, pre-designed UI elements.

Timonwa Akintokun
May 23, 2024 ⋅ 10 min read
Using Mountaineer To Develop A React App With Python

Using Mountaineer to develop a React app with Python

Develop a React app with Python using the Mountaineer framework for building a simple app with integrated your frontend and backend database.

Rosario De Chiara
May 23, 2024 ⋅ 7 min read
View all posts

4 Replies to "Debugging Rust apps with GDB"

    1. edit your cargo.toml and add the following so that debug info is added, or something similar:

      opt-level = 3
      debug = true

  1. When I set a watch on some_person.age and then hit n, I get an error that the watch expression couldn’t be evaluated.

  2. great post. an even easier method for using GDB in Windows is to use it with CLion + nightly-x86_64-pc-windows-gnu toolchain (though you should install a recent mingw version yourself and point CLion to that)

Leave a Reply