Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

231
Visualizações
I want to make a javascript visualizer, How can i extract Information about the variables, functions, stack etc and storing them for later visulaizing

I want to make a program, that can help me visualize any algorithm. what I actually want is that I want to run any script on left hand side and visualize it on right hand side, How can i make a web page or a system that let me execute javascript line by line in the browser and extract all the variable, arrays, function calls, stack memory etc information about that script.

for example write a simple program :

var array = [1,2,3,4,5];
var key = 3;

function LinearSearch(array, key){
    for(let i =0; i<array.length; i++){
       if(array[i] == key){
           return i;
        }
     }
}

LinearSearch(array, key);

now i want to extract all the information from this piece of code like what variable was declare and assigned with watch value what function call came in stack what is the current value of any variable etc.

I don't know if i explained my problem correctly or not ..

you can look at the website https://pythontutor.com/live.html#mode=edit as a reference the only thing i am gonna do different is to that i am gonna use html canvas for better visualization, that's it, All I can see right now is that this website runs the whole code at once and keeps the track record of all the processes happed during the execution, like variables value changes, function calls etc. and show that information after the execution by converting them into steps...

** has anyone have any idea how to do it ** This project is important for me.. I can't skip it.

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda