Troubleshooting errors in source code
Make how-to guides like this one in a snap.
TD

TJ Dunham

Created Dec 13, 2022

Troubleshooting errors in source code

Through the problem console users can identify dependency issues for uploaded code. The errors are highlighted both visually in bottom right as well as diagrammatically in the Macro view & Micro view (ERD,AD).

The process of fixing these errors involves finding the original data structures and uploading them to your project and they will auto-connect.

Or

Creating your own data structures and connecting them yourself. This workflow guide aims to inform you on both pathways.

123
    a

Arc-reactor

13 Steps
1

Select desired contract file

Select desired contract file
2

Notice that when ERD populates, if problems are detected they appear in the bottom right console

Notice that when ERD populates, if problems are detected they appear in the bottom right console
3

Select the problem console

Select the problem console
4

Notice that contract files have drop-down bars, select to see the missing file

This will allow you to view the missing file, and 'guess' the missing data structure, or make it easier to find the missing dependency online

Notice that contract files have drop-down bars, select to see the missing file
5

View missing file via arrow pointing to blank area

Due to the relational source code mapping capabilities of our system, you are able to see visually where the dependencies don't line up. As well as know what contracts need to be uploaded from on-chain/ repo, or developed to replace them.

Source code with missing dependencies won't compile

View missing file via arrow pointing to blank area
6

Select the contract connecting to missing dependencies

Select the contract connecting to missing dependencies
7

Click on one of the add options to inject a new data structure

Click on one of the add options to inject a new data structure
8

Once selecting a path, choose a 'type' of structure

Once selecting a path, choose a 'type' of structure
9

Once selecting an argument, add more if applicable

Once selecting an argument, add more if applicable
10

If applicable - You can also add directly from the 'Children' menu

If applicable - You can also add directly from the 'Children' menu
11

If applicable - You also have different options available depending on what paths you choose for fixing broken dependency

If applicable - You also have different options available depending on what paths you choose for fixing broken dependency
12

Once new source code is generated you will be able to see if dependencies are fixed instantly

One of the features of our unique diagrammatical code generation logic allows us to instantly tell if new changes in the source code break the system, fix it, or add to it without breaking dependencies.

Once new source code is generated you will be able to see if dependencies are fixed instantly
13

Notice once fixed problems are no longer displayed

Notice once fixed problems are no longer displayed
Well done!
Create how-to guides like this in a snap. Get Tango now.