1
/***************************************************************************
2
jdbcommand.cpp - description
5
copyright : (C) 1999 by John Birch
6
email : jbb@kdevelop.org
7
***************************************************************************/
9
/***************************************************************************
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
16
***************************************************************************/
18
#include "jdbcommand.h"
19
#include "breakpoint.h"
20
#include "variablewidget.h"
23
namespace JAVADebugger
26
JDBCommand::JDBCommand(const QCString &setCommand, bool isRunCmd, bool isInfoCmd, char setPrompt)
27
: DbgCommand(setCommand, isRunCmd, isInfoCmd, setPrompt)
31
/***************************************************************************/
33
JDBCommand::~JDBCommand()
37
/***************************************************************************/
38
/***************************************************************************/
39
/***************************************************************************/
41
JDBItemCommand::JDBItemCommand( VarItem *item,
42
const QCString &command,
45
: JDBCommand(command, isRunCmd, true, prompt),
50
/***************************************************************************/
52
JDBItemCommand::~JDBItemCommand()
56
/***************************************************************************/
57
/***************************************************************************/
58
/***************************************************************************/
60
JDBPointerCommand::JDBPointerCommand(VarItem *item)
61
: JDBItemCommand(item,
62
QCString("print *")+QCString(item->fullName().latin1()),
68
/***************************************************************************/
70
JDBPointerCommand::~JDBPointerCommand()
74
/***************************************************************************/
75
/***************************************************************************/
76
/***************************************************************************/
78
//JDBReferenceCommand::JDBReferenceCommand(VarItem *item) :
79
// JDBItemCommand(item, "print "+item->fullName(), false,
84
///***************************************************************************/
86
//JDBReferenceCommand::~JDBReferenceCommand()
90
/***************************************************************************/
91
/***************************************************************************/
92
/***************************************************************************/
94
JDBSetBreakpointCommand::JDBSetBreakpointCommand(const QCString &command, int key)
95
: JDBCommand(command, false, false, SET_BREAKPT),
100
/***************************************************************************/
102
JDBSetBreakpointCommand::~JDBSetBreakpointCommand()
106
/***************************************************************************/