A method for efficiently debugging a program defining a plurality of
configurations to be successively processed on a dynamically
reconfigurable architecture including a plurality of logic elements
cooperating with each other. The method includes storing data in a memory
in a configuration-conforming manner, the data generated by executing a
configuration forming part of the program on the reconfigurable
architecture, and including algorithmically relevant state data of the
program that is associated with at least one of the configurations. The
method further includes subsequently continuing execution of the program,
the execution including a reconfiguration, and detecting an error based
on stored state data, wherein for each state for which corresponding
state data is to be stored, the state remains unchanged at least until
the corresponding state data is stored. For obtaining a particular state
data, the method interrupts execution of the program by configuring a
first configuration via which the particular state data is transmitted to
a debugging unit instead of a second configuration that is a
next-required configuration of the program; and subsequent to obtaining
the particular state data, resumes execution of the program by
configuring the second configuration.