Collect console log and allow time-travel to log invocation

This commit is contained in:
Dmitry Vasilev
2022-10-17 02:49:21 +08:00
parent 1a00533103
commit 8c7c68ba50
15 changed files with 581 additions and 186 deletions

View File

@@ -62,7 +62,7 @@
box-shadow: 1px 1px 6px 3px var(--shadow_color);
}
.calltree:focus-within, .problems:focus-within {
.tab_content:focus-within, .problems:focus-within {
outline: none;
}
@@ -114,7 +114,23 @@
color: red;
}
/* calltree */
/* Tabs */
.tabs {
display: flex;
padding-bottom: 0.5em;
}
.tabs > .tab {
margin-right: 1em;
padding: 0.3em 1em;
}
.tabs > .tab.active {
background-color: rgb(225, 244, 253);
}
/* debugger */
.bottom {
grid-area: bottom;
@@ -122,15 +138,32 @@
overflow: auto;
}
.calltree, .problems {
.debugger {
display: flex;
flex-direction: column;
}
.debugger, .problems {
padding: 5px;
overflow: auto;
}
.logs {
padding-left: 1em;
}
.logs .log.active {
background-color: rgb(225, 244, 253);
}
.tab_content {
overflow: auto;
}
.entrypoint_select {
position: absolute;
right: 20px;
top: 7px;
display: flex;
align-items: center;
margin-left: auto;
}
.entrypoint_title {