2011-09-13 17:50:18 +03:00
|
|
|
#ifndef _memorywatch__hpp__included__
|
|
|
|
#define _memorywatch__hpp__included__
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <stdexcept>
|
2011-11-05 20:09:10 +02:00
|
|
|
#include <set>
|
2011-09-13 17:50:18 +03:00
|
|
|
|
|
|
|
std::string evaluate_watch(const std::string& expr) throw(std::bad_alloc);
|
2011-11-05 20:09:10 +02:00
|
|
|
std::set<std::string> get_watches() throw(std::bad_alloc);
|
|
|
|
std::string get_watchexpr_for(const std::string& w) throw(std::bad_alloc);
|
|
|
|
void set_watchexpr_for(const std::string& w, const std::string& expr) throw(std::bad_alloc);
|
|
|
|
void do_watch_memory();
|
2011-09-13 17:50:18 +03:00
|
|
|
|
|
|
|
#endif
|