citic / botNeumann

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

Call start instead of breakpoint at main #123

Closed jeissonh closed 7 years ago

jeissonh commented 7 years ago

GDB has the start command that stops at the program entry point, which is independent of the programming language. botNeumann is setting a breakpoint at main. Change it to the MI correspondent of start.

jeissonh commented 7 years ago

start is not available in machine interface. botNeumann inherits the GDB policy: set breakpoints in C++ constructors if user wants to debug them.

jeissonh commented 7 years ago

Issue reopened: start is available in machine interface as a parameter:

 -exec-run --start
jeissonh commented 7 years ago

Implemented in b4b1ffae165d521b53f7081755c2c50d784c1fb4