Lines Matching defs:fileName

73 bool DebuggerImpl::NotifyScriptParsed(const std::string &fileName, std::string_view entryPoint)
75 if (!CheckScriptParsed(fileName)) {
79 const JSPandaFile *jsPandaFile = JSPandaFileManager::GetInstance()->FindJSPandaFile(fileName.c_str()).get();
81 LOG_DEBUGGER(ERROR) << "NotifyScriptParsed: unknown file: " << fileName;
87 LOG_DEBUGGER(ERROR) << "NotifyScriptParsed: Unsupported file: " << fileName;
96 LOG_DEBUGGER(WARN) << "NotifyScriptParsed: invalid debugger file: " << fileName;
104 if (MatchUrlAndFileName(url, fileName)) {
107 urlFileNameMap_[url].insert(fileName);
110 std::unique_ptr<PtScript> script = std::make_unique<PtScript>(g_scriptId++, fileName, url, source);
119 bool DebuggerImpl::SendableScriptParsed(const std::string &fileName, const std::string &url,
122 if (!CheckScriptParsed(fileName)) {
131 urlFileNameMap_[url].insert(fileName);
133 std::unique_ptr<PtScript> script = std::make_unique<PtScript>(g_scriptId++, fileName, url, source);
142 bool DebuggerImpl::CheckScriptParsed([[maybe_unused]] const std::string &fileName)
147 if (fileName.substr(0, DATA_APP_PATH.length()) != DATA_APP_PATH) {
148 LOG_DEBUGGER(DEBUG) << "SendableScriptParsed: unsupport file: " << fileName;
175 const std::string &fileName = std::string(jsPandaFile->GetJSPandaFileDesc());
176 if (!MatchUrlAndFileName(url, fileName)) {
180 SendableScriptParsed(fileName, url, source, recordName);
186 bool DebuggerImpl::MatchUrlAndFileName(const std::string &url, const std::string &fileName)
190 if (urlFileNameIter->second.find(fileName) != urlFileNameIter->second.end()) {
250 const auto &fileName = DebuggerApi::GetBaseJSPandaFile(vm_, jsPandaFile)->GetJSPandaFileDesc();
251 if (!MatchScripts(scriptFunc, fileName.c_str(), ScriptMatchType::FILE_NAME) || extractor == nullptr) {
252 LOG_DEBUGGER(INFO) << "StepComplete: skip unknown file " << fileName.c_str();
1622 std::string fileName = ptScript->GetFileName();
1623 const JSPandaFile *jsPandaFile = JSPandaFileManager::GetInstance()->FindJSPandaFile(fileName.c_str()).get();