Debugging code - Rider Essentials

Debugging code - Rider Essentials

With the debugger in Rider, you can attach to a new or existing process, and place breakpoints to pause the application and see what is going on while executing your code.

With the debugger in Rider, you can attach to a new or existing process, and place breakpoints to pause the application and see what is going on while executing your code.

In the debugger, you can inspect variables, the current call stack, step over/into specific methods, and more. The debugger supports all .NET frameworks, .NET Core, Mono, Xamarin, Unity, ASP.NET and ASP.NET Core, in standalone apps, web apps and unit tests.

Run Configurations

Debugging starts with Run Configurations, where you specify which project to run or debug.

When first creating or loading a project in Rider, a default run configuration is created, based on the project type, so minimal configuration is required to get started. In fact, for most application types, pressing the F5 keyboard shortcut should be sufficient to launch the debugger.

Breakpoints and Source Stepping

Breakpoints let you suspend the program execution at specific statement. You can then analyze variables values, call stack, and other program parameters, evaluate expressions, and step through the program. There are different breakpoint types in the Rider debugger.

You can step through code, and use tools like smart step into to debug nested calls.

Once your application is suspended, you can use the variables pane to get a closer look at the current state of your program. Make use of Pin to Top to customize how values are displayed without having to change your code.

code visual studio code visual studio

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

COMO USAR e trabalhar com Code Review no Visual Studio Code

💲 Live CollabPlay: 💲 Hospedagem com Desconto Exclusivo: Não é todo programador que gosta de compartilh...

User Snippets (Code Shortcuts) in Visual Studio Code

#vscode Hello, my friends and fellow developers, this video is all about User Snippets. That means the Snippets (Code Shortcuts) that you can make for yourse...

Python в Visual Studio Code

We are pleased to announce that the July release of the Python extension is now available for Visual Studio Code. You can download the Python extension from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. If you already have the Python extension installed, you can also get the latest update by restarting Visual Studio Code. You can read more about Python support in Visual Studio Code in the documentation .

C++ Development with Visual Studio Code

If you’re looking for a fast and lightweight open-source code editor, Visual Studio Code has you covered. Come for a deep dive into the features of Visual Studio Code which provide a rich, productive environment for C++ development.

The History of Visual Studio Code

We speak to the creator of Visual Studio Code about the early challenges to now becoming the most popular development environment in the world.