-
Notifications
You must be signed in to change notification settings - Fork 2
Debugging RefactorGraph
cpgames edited this page Jul 15, 2022
·
2 revisions
Before running refactor graph it's often useful to make sure that it captures the correct data. The best route to achieve this is with Print node.
Example of printing all function call names:

You can further combine StringFormat node with print node to get more details:

(Note usage of Bus node to print "******" after each function call for easier reading)
- AppendToCollection
- ClearCollection
- ForEach
- GetCollectionSize
- GetElement
- GetFirstElement
- GetLastElement
- EnumerateDocumentsInProject
- EnumerateDocumentsInSolution
- EnumerateProjects
- GetCurrentDocument
- GetCurrentProject
- GetDocumentName
- GetDocumentPartition
- GetProjectName
- FindFirstPartitionInCollection
- GetLeadingSpacing
- GetNextPartition
- GetPartitionData
- GetPreviousPartition
- GetPureName
- InsertAfter
- InsertBefore
- PartitionByClass
- PartitionByFirstRegexMatch
- PartitionByFunctionCall
- PartitionByFunction
- PartitionByIfElse
- PartitionByParameters
- PartitionByRegexMatch
- PartitionByReturn
- PartitionByVariable
- PartitionIsValid
- RasterizePartition
- RegexMatchPresentInPartitionCollection
- RegexMatchPresentInPartition
- RemovePartition
- SetPartitionData
- SwapPartitions