Skip to content

inspector updates #2263

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions ci/leak.supp
Original file line number Diff line number Diff line change
Expand Up @@ -274,3 +274,24 @@
fun:_Z6pxMainiPPc
fun:main
}
{
SnapshotBlobLeak
Memcheck:Leak
match-leak-kinds: definite
fun:_Znwm
fun:_ZN2v88internal7Sweeper31ScheduleIncrementalSweepingTaskEv
fun:_ZN2v88internal7Sweeper17StartSweeperTasksEv
fun:_ZN2v88internal20MarkCompactCollector6FinishEv
fun:_ZN2v88internal20MarkCompactCollector14CollectGarbageEv
fun:_ZN2v88internal4Heap11MarkCompactEv
fun:_ZN2v88internal4Heap24PerformGarbageCollectionENS0_16GarbageCollectorENS_15GCCallbackFlagsE
fun:_ZN2v88internal4Heap14CollectGarbageENS0_15AllocationSpaceENS0_23GarbageCollectionReasonENS_15GCCallbackFlagsE
fun:_ZN2v88internal4Heap26CollectAllAvailableGarbageENS0_23GarbageCollectionReasonE
fun:_ZN2v815SnapshotCreator10CreateBlobENS0_20FunctionCodeHandlingE
fun:_ZN2v82V822CreateSnapshotDataBlobEPKc
fun:_ZN12rtScriptNode5init2EiPPc
fun:_ZN12rtScriptNode4initEv
fun:_ZN8rtScript4initEv
fun:_Z6pxMainiPPc
fun:main
}
12 changes: 8 additions & 4 deletions examples/pxScene2d/VSCODE_DEBUG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,25 @@ NOTE: From VSCode 1.25 and greater ... it is necessary to include `"protocol":
"name": "DBG file in pxscene",
"type": "node",
"request": "launch",
"protocol": "legacy",
"protocol": "inspector",
"cwd": "/Applications/Spark.app/Contents/MacOS",
"runtimeExecutable": "/Applications/Spark.app/Contents/MacOS/Spark",
// Edit below as gl:${file} when running under webgl based apps
"args":["${file}"],
"env" : {
"BREAK_ON_SCRIPTSTART":"0",
"LD_LIBRARY_PATH":"/Applications/Spark.app/Contents/MacOS/lib",
"DYLD_LIBRARY_PATH":"/Applications/Spark.app/Contents/MacOS/lib"
//,"BREAK_ON_SCRIPTSTART":1
}
},
"port":9229,
"stopOnEntry": true
},
{
"name": "DBG pxscene",
"type": "node",
"request": "launch",
"protocol": "legacy",
"protocol": "inspector",
"cwd": "/Applications/Spark.app/Contents/MacOS",
"runtimeExecutable": "/Applications/Spark.app/Contents/MacOS/Spark",
"env" : {
Expand All @@ -66,7 +70,7 @@ NOTE: From VSCode 1.25 and greater ... it is necessary to include `"protocol":
// TCP/IP address. Default is "localhost".
"address": "localhost",
// Port to attach to.
"port": 5858,
"port": 9229,
"sourceMaps": false
}
]
Expand Down
Loading