mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
able to send multiple source file to debugger server
Signed-off-by: bence gabor kis <kisbg@inf.u-szeged.hu>
This commit is contained in:
parent
f82c81a5d2
commit
3bb4a39e50
7 changed files with 110 additions and 11 deletions
|
|
@ -652,12 +652,15 @@ int main(int argc, char* argv[])
|
|||
}
|
||||
if (strcmp(argv[i], "--debugger-wait-source") == 0) {
|
||||
StringRef* sourceName;
|
||||
StringRef* clientSourceRef = context->getClientSource(&sourceName);
|
||||
if (clientSourceRef) {
|
||||
StringRef* clientSourceRef;
|
||||
while (true) {
|
||||
clientSourceRef = context->getClientSource(&sourceName);
|
||||
if (!clientSourceRef) {
|
||||
break;
|
||||
}
|
||||
if (!evalScript(context, clientSourceRef, sourceName, false, false))
|
||||
return 3;
|
||||
runShell = false;
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue