A
A
Andrey At2020-05-30 15:53:49
Debugging
Andrey At, 2020-05-30 15:53:49

Is there a programming language that allows programming in debug mode?

Many languages ​​have the ability to run a program in debug mode. Those. the program is executed in steps and you can view the values ​​of the variables.
But not all PLs support changing the program in this mode. There is also no way to go back a step.

The question is, is there such a programming language that allows you to change the program code immediately in debug mode, as well as return to previous program steps?

PS It is better if it is not a functional PL, but it is also interesting to learn about the functional one.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Karbivnichy, 2020-05-30
@hottabxp

Those. the program is executed step by step and you can view the values ​​of the variables.
Yes, only this is not done by the programming language, but by the debugger .

I
Ivan Yakushenko, 2020-05-30
@kshnkvn

This question is not about the language, but about the toolkit, in particular, interactive shells. For example Jupyter ; supports most programming languages, meaning you can do what you wrote in the question in C++, C#, Java, JavaScript, Python, and so on.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question