How to use RevDeBug with Visual Studio?
RevDeBug increases the observability and support debugging C# applications. You can use RevDeBug in basically every scenario that runs .NET code. For example you can monitor your application inside Docker Containers, Kubernetes Clusters, Azure and any type of Serverless or Xamarin.

Value Prompts

Highlight the values in code with Visual Studio. See values right in your C# code during debugging.

Use RevDeBug Value Prompts

Have you already seen the small variables’ values overlaid on your code? We call them "Prompts". They can easily show you, what happened in your program during debugging. Comes in handy when hunting for bugs location.
RevDeBug Value Prompts
Would you like to know more about this feature? Check this blogpost.

Historical Values

View all values, that variable had during program execution.

Inspect all variables in the current scope

Variable values called Prompts are always displayed straight above corresponding instructions.
To see all variables in the current scope, open Variables window through RevDeBug Menu (RevDeBug > Variables).
Here you can see all the variables with their current and previous values.
Click on icon of two arrows
to get a list of all the recorded values of a single variable.
Jump to the state that variable was set or read. Click two times on one of these values, to jump to the state (i.e. exact moment in time) it was set or read.

Replaying code recordings from monitored applications

Standard Visual Studio debugging tool contains instruments such as step-into, step-over or step-out. Time Machine allows you to travel in an opposite direction, to inspect what causes the bug in your project

Use RevDeBug Time Machine

When your recording is loaded, the RevDeBug Panel will look similar to the one below:
This window allows you to navigate through recorded states of your application.
Using the arrows you can move back and forth through each recorded state:
Traveling at RevDeBug recording
Arrows in the middle
show you every single state of your application (step-into).
Arrows on the edges
allow you to move through your code without entering methods (step-over).
For faster navigation, use this slider:
.
Would you like to know more about this feature? Check this blogpost.

Search

RevDeBug recording giving you huge amount of data on your application behaviour. Now you are able to search at those variables and exceptions

Search at RevDeBug recordings

If you want to search for some variable or exception, you need to go to the Recordings tab in the RevDeBug panel.
RevDeBug Navigation Panel
Enter your phrase and on the timeline you can see the recorded calls and events.
Recorded calls and events
If you click on the event you will be moved to the code.
Click on the event and move to the code

Filter variables and exceptions at RevDeBug recordings

You can also add some filters to narrow the results.
Filtering the results

Performance Profiling

Even tiny performance imperfections in methods called multiple times may cause great delays. Our performance profiler pinpoints the most overused ones and you can obtain this data from development, staging, testing and even production environments.

Use RevDeBug Performance Profiling

Performance statistics of your application can be seen by selecting ("Performance data") tab in the RevDeBug Panel.
In the doughnut diagram you can see 10 methods, that took the most time to execute in your application. If you need more details, analyze the table. It shows all the methods of your application, their total call count, as well as their mean and overall execution time.
RevDeBug performance profiler
Would you like to know more about this feature? Check this blogpost.

Threads

Inspect how threads of your application communicate with each other.

Inspect all threads in the current projects

Open the Threads Window using RevDeBug Menu (RevDeBug > Threads).
In this view you can see all your threads listed vertically.
Use buttons in bottom left corner, to change level of detail
.
Your current position is represented by blocks in this color
. Your exact position is marked by this red line. Move it horizontally to adjust your position.
Details of your current position are displayed both in Control Panel and source code view.

Save And Share

Software development is a team game, so might be debugging. Save and share errors recordings with other team members.

Save and Share RevDeBug recordings

With RevDeBug you can save your recordings and share them with others! For example in the testing environment
And this is how it works for local and remote environments:

From remote environment

If you record your application on production, the recording will be saved on the RevDeBug Server. From there it can be easily accessed by everyone connected to this server, from the Visual Studio!

At local environment

If you get hold of a recording from different source (like another developer), you have to import it to your Visual Studio. It is as easy as following three steps of Import Wizard. You can access it through RevDeBug Menu (RevDeBug > Import Wizard).
RevDeBug Import Wizard
This Wizard will guide you through entering paths to three necessary files:
    recording
    its metadata
    its source file
Recording and metadata files are generated while compiling a program with RevDeBug. They are usually placed in Documents > RevDeBug > project_name with following extensions:
    .tmox for the recording file
    .tmsx for the metadata
No worries! Most of the time the Wizard will find everything by itself. It will only popup if for some reason, RevDeBug couldn’t find one or more of needed files.
Save&Share import wizard
Last modified 7mo ago