citic / botNeumann

A metaphorized and gamified visualization of the von Neumann architecture for programming learning
1 stars 0 forks source link

Refresh source code changes in visualization #121

Open jeissonh opened 7 years ago

jeissonh commented 7 years ago

botNeumann can update changes that user makes to the source code while visualization is running.

If visualization is running and user introduces changes in code editor, a button "refresh" or "apply" may be enabled. If user presses that button, a new build task is started. It will override the executable and GDB will try to update keeping breakpoints.

On non-Unix operating systems (i.e. Windows), executable file cannot be overwritten while it is running. A kill GDB command should be issued before (GDB manual section 4.8).