5c486012c9
Adds an extension command to the debugger which provides heap tracing functionality, and adds the framework needed to get heap traces. The heaptrace command can dump the current heap to the debugger session or it can save a GraphViz specification to a file. I'm hoping to add a backend which can put the graph in GML format, so it can be explored interactively. I also hope at some point to see this integrated into FBIDE if we can do that.
59 linhas
2.9 KiB
C
59 linhas
2.9 KiB
C
/*
|
|
+----------------------------------------------------------------------+
|
|
| HipHop for PHP |
|
|
+----------------------------------------------------------------------+
|
|
| Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) |
|
|
+----------------------------------------------------------------------+
|
|
| This source file is subject to version 3.01 of the PHP license, |
|
|
| that is bundled with this package in the file LICENSE, and is |
|
|
| available through the world-wide-web at the following url: |
|
|
| http://www.php.net/license/3_01.txt |
|
|
| If you did not receive a copy of the PHP license and are unable to |
|
|
| obtain it through the world-wide-web, please send a note to |
|
|
| license@php.net so we can mail you a copy immediately. |
|
|
+----------------------------------------------------------------------+
|
|
*/
|
|
|
|
#ifndef incl_HPHP_EVAL_DEBUGGER_CMD_ALL_H_
|
|
#define incl_HPHP_EVAL_DEBUGGER_CMD_ALL_H_
|
|
|
|
#include "hphp/runtime/debugger/cmd/cmd_eval.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_abort.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_break.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_continue.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_down.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_exception.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_frame.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_global.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_help.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_info.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_constant.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_list.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_machine.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_next.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_out.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_print.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_quit.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_run.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_step.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_thread.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_up.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_variable.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_where.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_extended.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_user.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_zend.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_shell.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_interrupt.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_example.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_extension.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_signal.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_macro.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_config.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_complete.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_heaptrace.h"
|
|
#include "hphp/runtime/debugger/cmd/cmd_internal_testing.h"
|
|
//tag: new_cmd.php inserts new command here, do NOT remove/modify this line
|
|
|
|
#endif // incl_HPHP_EVAL_DEBUGGER_CMD_ALL_H_
|