Class DebuggingSourcesMgr


  • public class DebuggingSourcesMgr
    extends Object
    Author:
    lana
    • Constructor Detail

      • DebuggingSourcesMgr

        public DebuggingSourcesMgr​(JarikoDebugeeContext jarikoDebuggeeContext,
                                   Function<String,​com.smeup.jardis.core.dap.model.Source> sourceSupplier)
    • Method Detail

      • getSourceSupplier

        public Function<String,​com.smeup.jardis.core.dap.model.Source> getSourceSupplier()
      • getDebuggingSource

        public DebuggingSource getDebuggingSource​(com.smeup.jardis.core.dap.model.Source source)
      • getDebuggingSource

        public DebuggingSource getDebuggingSource​(String nameOrPath)
        Retrieves a DebuggingSource object associated with the given program or copy name or path. If a corresponding DebuggingSource does not exist, it creates a new one, associates it internally, and then returns the newly created DebuggingSource.
        Parameters:
        nameOrPath - the name or path of the program or copy for which the debugging source is to be retrieved or created
        Returns:
        the DebuggingSource object associated with the specified name or path
      • getDebuggingSource

        public DebuggingSource getDebuggingSource​(String programName,
                                                  String functionName,
                                                  com.smeup.rpgparser.interpreter.ISymbolTable symbolTable)
        Retrieves a DebuggingSource object associated with the specified program name and function name. If a corresponding DebuggingSource does not exist, it creates a new one, associates it internally, and then returns the newly created DebuggingSource object.
        Parameters:
        programName - the name of the program for which the debugging source is to be retrieved or created
        functionName - the name of the function within the program for which the debugging source is to be retrieved or created
        symbolTable - the symbol table associated with the function being debugged
        Returns:
        the DebuggingSource associated with the specified program and function names
      • getDebuggingSource

        public DebuggingSource getDebuggingSource​(int uniqueReferenceId)