![script debugger run on the main thread script debugger run on the main thread](https://windows-cdn.softpedia.com/screenshots/UBasic-Debugger-for-CHDK_1.png)
Start the client, and select 'Configure.' in the 'Remote Launch' pull-down menu.
![script debugger run on the main thread script debugger run on the main thread](https://www.beyondlogic.org/wp-content/uploads/2020/11/main.png)
Please note that the client version must be the same as the Arm Forge version that you're going to use on the NERSC machines.įirst, we need to configure the client for running a debugging session on a NERSC machine.
#SCRIPT DEBUGGER RUN ON THE MAIN THREAD INSTALL#
You can download the clients from Arm Forge download page and install on your laptop/desktop. Reverse Connect Using Remote Client ¶Īrm provides remote clients for Windows, macOS and Linux that can run on your local desktop to connect via SSH to NERSC systems to debug, profile, edit and compile files directly on the remote NERSC machine. So do not run an application with a debugger such as DDT in an MPS session. To pass command line arguments to a program enter them in the 'srun arguments' box.ĬUDA Multi-Process Service (MPS) doesn't support debugging.
![script debugger run on the main thread script debugger run on the main thread](https://qt.developpez.com/evenement/2009-devdays/conferences/qt-script/images/qtscript-debugger-small.png)
Select the number of processors on which to run and press run. Then the Run window will appear with a pre-filled path to the executable to debug. A user can also choose 'ATTACH' to attach DDT to an already running program, or 'OPEN CORE' to view a core dump file from a previous job. For basic debugging choose the option 'RUN' with the 'arm DDT' tool. The Arm Forge GUI will pop up, showing a start up menu for you to select what to do. testDDT is the name of your program to debug.