Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
7f084a40
Commit
7f084a40
authored
Oct 12, 2020
by
aniket-engg
Committed by
Aniket
Oct 13, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
syntax highlighting fixed
parent
e3187406
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
VmDebugger.js
.../remix-ide/src/app/tabs/debugger/debuggerUI/VmDebugger.js
+1
-1
offsetToLineColumnConverter.js
apps/remix-ide/src/lib/offsetToLineColumnConverter.js
+2
-2
No files found.
apps/remix-ide/src/app/tabs/debugger/debuggerUI/VmDebugger.js
View file @
7f084a40
...
...
@@ -38,7 +38,7 @@ function VmDebugger (vmDebuggerLogic) {
this
.
functionPanel
=
new
FunctionPanel
()
this
.
vmDebuggerLogic
.
event
.
register
(
'functionsStackUpdate'
,
(
stack
)
=>
{
if
(
stack
===
null
)
return
if
(
stack
===
null
||
stack
.
length
===
0
)
return
let
functions
=
[]
for
(
let
func
of
stack
)
{
functions
.
push
(
func
.
functionDefinition
.
name
+
'('
+
func
.
inputs
.
join
(
', '
)
+
')'
)
...
...
apps/remix-ide/src/lib/offsetToLineColumnConverter.js
View file @
7f084a40
...
...
@@ -20,8 +20,8 @@ export class OffsetToLineColumnConverter extends Plugin {
offsetToLineColumn
(
rawLocation
,
file
,
sources
,
asts
)
{
if
(
!
this
.
lineBreakPositionsByContent
[
file
])
{
const
sourcesArray
=
Object
.
keys
(
sources
)
if
(
!
asts
&&
file
===
0
&&
sourcesArray
.
length
===
1
)
{
// if we don't have ast, we process the only one available content
if
(
!
asts
||
(
file
===
0
&&
sourcesArray
.
length
===
1
)
)
{
// if we don't have ast, we process the only one available content
(applicable also for compiler older than 0.4.12)
this
.
lineBreakPositionsByContent
[
file
]
=
this
.
sourceMappingDecoder
.
getLinebreakPositions
(
sources
[
sourcesArray
[
0
]].
content
)
}
else
{
for
(
var
filename
in
asts
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment