mirror of https://github.com/stella-emu/stella.git
Exposed breakpoints(), readtraps(), writetraps() public methods
in Debugger, for use by the GUI git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@542 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
4c790bcbd5
commit
06ef6f0ee2
|
@ -13,7 +13,7 @@
|
||||||
// See the file "license" for information on usage and redistribution of
|
// See the file "license" for information on usage and redistribution of
|
||||||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
//
|
//
|
||||||
// $Id: Debugger.hxx,v 1.22 2005-06-21 23:01:24 stephena Exp $
|
// $Id: Debugger.hxx,v 1.23 2005-06-22 13:00:58 urchlay Exp $
|
||||||
//============================================================================
|
//============================================================================
|
||||||
|
|
||||||
#ifndef DEBUGGER_HXX
|
#ifndef DEBUGGER_HXX
|
||||||
|
@ -51,7 +51,7 @@ enum {
|
||||||
for all debugging operations in Stella (parser, 6502 debugger, etc).
|
for all debugging operations in Stella (parser, 6502 debugger, etc).
|
||||||
|
|
||||||
@author Stephen Anthony
|
@author Stephen Anthony
|
||||||
@version $Id: Debugger.hxx,v 1.22 2005-06-21 23:01:24 stephena Exp $
|
@version $Id: Debugger.hxx,v 1.23 2005-06-22 13:00:58 urchlay Exp $
|
||||||
*/
|
*/
|
||||||
class Debugger : public DialogContainer
|
class Debugger : public DialogContainer
|
||||||
{
|
{
|
||||||
|
@ -202,6 +202,10 @@ class Debugger : public DialogContainer
|
||||||
PromptWidget *prompt();
|
PromptWidget *prompt();
|
||||||
string showWatches();
|
string showWatches();
|
||||||
|
|
||||||
|
PackedBitArray *breakpoints() { return breakPoints; }
|
||||||
|
PackedBitArray *readtraps() { return readTraps; }
|
||||||
|
PackedBitArray *writetraps() { return writeTraps; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
Console* myConsole;
|
Console* myConsole;
|
||||||
System* mySystem;
|
System* mySystem;
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
// See the file "license" for information on usage and redistribution of
|
// See the file "license" for information on usage and redistribution of
|
||||||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
//
|
//
|
||||||
// $Id: DebuggerParser.cxx,v 1.24 2005-06-21 23:01:24 stephena Exp $
|
// $Id: DebuggerParser.cxx,v 1.25 2005-06-22 13:00:58 urchlay Exp $
|
||||||
//============================================================================
|
//============================================================================
|
||||||
|
|
||||||
#include "bspf.hxx"
|
#include "bspf.hxx"
|
||||||
|
@ -619,9 +619,9 @@ string DebuggerParser::run(const string& command) {
|
||||||
"step - Single-step\n"
|
"step - Single-step\n"
|
||||||
"tia - Show TIA register contents\n"
|
"tia - Show TIA register contents\n"
|
||||||
"trace - Single-step treating subroutine calls as 1 instruction\n"
|
"trace - Single-step treating subroutine calls as 1 instruction\n"
|
||||||
"*trap xx - Trap any access to location xx (enter debugger on access)\n"
|
"trap xx - Trap any access to location xx (enter debugger on access)\n"
|
||||||
"*trapread xx - Trap any read access from location xx\n"
|
"trapread xx - Trap any read access from location xx\n"
|
||||||
"*trapwrite xx - Trap any write access to location xx\n"
|
"trapwrite xx - Trap any write access to location xx\n"
|
||||||
"v - Toggle Overflow Flag\n"
|
"v - Toggle Overflow Flag\n"
|
||||||
"watch xx - Print contents of location xx before every prompt\n"
|
"watch xx - Print contents of location xx before every prompt\n"
|
||||||
"x xx - Set X register to xx\n"
|
"x xx - Set X register to xx\n"
|
||||||
|
|
Loading…
Reference in New Issue