General X++ Development
How do I find references to a method, table, or field in D365FO?
How do I find references to a method, table, or field in D365FO?
1 answer
Write an answerIn Visual Studio, use the available cross-reference / Find References functionality on the object.
Start from the actual method, table, field, EDT, or metadata object instead of doing a plain text search across the entire codebase.
One distinction that matters:
- References tell you where something can be used.
- The debugger call stack tells you what actually called it in the scenario you are testing.
I use references to understand the possible paths and the call stack to understand the real path.
Know the solution?
Sign in to contribute an answer and build your community reputation.
Sign in to answer