src/eric7/Documentation/Source/eric7.Project.DebuggerPropertiesFile.html

Sat, 26 Apr 2025 12:34:32 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 26 Apr 2025 12:34:32 +0200
branch
eric7
changeset 11240
c48c615c04a3
parent 10479
856476537696
permissions
-rw-r--r--

MicroPython
- Added a configuration option to disable the support for the no longer produced Pimoroni Pico Wireless Pack.

<!DOCTYPE html>
<html><head>
<title>eric7.Project.DebuggerPropertiesFile</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.Project.DebuggerPropertiesFile</h1>
<p>
Module implementing a class representing the project debugger properties
JSON file.
</p>

<h3>Global Attributes</h3>
<table>
<tr><td>Project</td></tr>
</table>

<h3>Classes</h3>
<table>
<tr>
<td><a href="#DebuggerPropertiesFile">DebuggerPropertiesFile</a></td>
<td>Class representing the project debugger properties JSON file.</td>
</tr>
</table>

<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>

<hr />
<hr />
<a NAME="DebuggerPropertiesFile" ID="DebuggerPropertiesFile"></a>
<h2>DebuggerPropertiesFile</h2>
<p>
    Class representing the project debugger properties JSON file.
</p>

<h3>Derived from</h3>
QObject
<h3>Class Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>

<h3>Class Methods</h3>
<table>
<tr><td>None</td></tr>
</table>

<h3>Methods</h3>
<table>
<tr>
<td><a href="#DebuggerPropertiesFile.__init__">DebuggerPropertiesFile</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#DebuggerPropertiesFile.readFile">readFile</a></td>
<td>Public method to read the project debugger properties data from a project debugger properties JSON file.</td>
</tr>
<tr>
<td><a href="#DebuggerPropertiesFile.writeFile">writeFile</a></td>
<td>Public method to write the project debugger properties data to a project debugger properties JSON file.</td>
</tr>
</table>

<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>


<a NAME="DebuggerPropertiesFile.__init__" ID="DebuggerPropertiesFile.__init__"></a>
<h4>DebuggerPropertiesFile (Constructor)</h4>
<b>DebuggerPropertiesFile</b>(<i>project: Project, parent: QObject = None</i>)
<p>
        Constructor
</p>

<dl>

<dt><i>project</i> (Project)</dt>
<dd>
reference to the project object
</dd>
<dt><i>parent</i> (QObject (optional))</dt>
<dd>
reference to the parent object (defaults to None)
</dd>
</dl>
<a NAME="DebuggerPropertiesFile.readFile" ID="DebuggerPropertiesFile.readFile"></a>
<h4>DebuggerPropertiesFile.readFile</h4>
<b>readFile</b>(<i>filename: str</i>)
<p>
        Public method to read the project debugger properties data from a
        project debugger properties JSON file.
</p>

<dl>

<dt><i>filename</i> (str)</dt>
<dd>
name of the project file
</dd>
</dl>
<dl>
<dt>Return:</dt>
<dd>
flag indicating a successful read
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
bool
</dd>
</dl>
<a NAME="DebuggerPropertiesFile.writeFile" ID="DebuggerPropertiesFile.writeFile"></a>
<h4>DebuggerPropertiesFile.writeFile</h4>
<b>writeFile</b>(<i>filename: str</i>)
<p>
        Public method to write the project debugger properties data to a
        project debugger properties JSON file.
</p>

<dl>

<dt><i>filename</i> (str)</dt>
<dd>
name of the user project file
</dd>
</dl>
<dl>
<dt>Return:</dt>
<dd>
flag indicating a successful write
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
bool
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial