code: function StackTrace$$generateArtificially(opts) {
              opts = _merge(_options, opts);
              var stackFrames = StackGenerator.backtrace(opts);
              if (typeof opts.filter === 'function') {
                  stackFrames = stackFrames.filter(opts.filter);
              }
              return Promise.resolve(stackFrames);
          }
docs: Use StackGenerator to generate a backtrace.
  
  @param {Object} opts
  @returns {Promise} of Array[StackFrame]