Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] Problem using Debug mode

Hi Clement,

Thanks! Setting the machine's name seems to get the debugger running.
I tried to debug using the PTPSimulation template and it works fine, though it's odd that there's no output from the PTPSimulation program onto the console. Using Run displays all the program output.
On my program, however, it doesn't seem to break at the main( ) function. It shows the processors but no call stack is available. I had to kill it manually.
The source code path seems to be there with no duplicates. Below is the output:

++++++++++ ptp_orte_proxy: ------------------- gdb version: 6.400000
++++++++++ ptp_orte_proxy: ------------------- gdb version: 6.400000
got debug event: EVENT_DBG_OK 03
*** SET COMMAND RETURN: Start debugger, result: OK, tasks: 0-1
*** SEND COMMAND: Set function breakpoint, tasks: 0-1
<0000004a SFB 5:323a303300 2:3000 2:3100 2:3000 1:00 5:6d61696e00 1:00 2:3000 2:3000>
got debug event: EVENT_DBG_BPSET 03
*** SET COMMAND RETURN: Set function breakpoint, result: org.eclipse.ptp.debug.external.core.cdi.breakpoints.LineBreakpoint@1e92e10, tasks: 0-1
*** SEND COMMAND: Go, tasks: 0-1
***** Debugger event: org.eclipse.ptp.debug.external.core.cdi.event.InferiorResumedEvent@123663b
<00000010 GOP 5:323a303300>

- no more messages after this line...

Jerome


----- Original Message -----
From: "Clement Kam Man Chu"
To: "PTP User list"
Subject: Re: [ptp-user] Problem using Debug mode
Date: Wed, 05 Sep 2007 14:03:29 +1000


Hi Jerome,

Are you running ptp on local machine? If not, you need to set
"SDM client host" on the machine you are running. The field is on
"Perferences" -> "PTP" -> "Debug" -> "SDM".

Regards,
Clement

Jerome Son Ni wrote:
> Hi,
>
> I've just finish installing PTP and couldn't get the parallel
> debugging option to work. The Run method seems fine, with all the
> output displayed in the Eclipse interface.
> However, I couldn't get the Debug method running. There isn't any
> output on in Eclipse. Below is what I see inthe console.
>
> ++++++++++ ptp_orte_proxy: (debug ? 1) Spawning 2 processes of
> job
> '/net/canopus/usr1/jho/workspace/PXSimulator/Linux_debug/pxsim_debug'
> ++++++++++ ptp_orte_proxy: program name
> '/net/canopus/usr1/jho/workspace/PXSimulator/Linux_debug/pxsim_debug'
> ++++++++++ ptp_orte_proxy: SPAWNED [error code 0 = 'Success'], now unlocking
> ++++++++++ ptp_orte_proxy: NEW JOBID = 4
> ++++++++++ ptp_orte_proxy: registering IO forwarding - name = ''
> ++++++++++ ptp_orte_proxy: Returning from ORTERun
> OMPIProxyRuntimeClient got event: EVENT_RUNTIME_JOBSTATE (jobid=2) state=1
> *********** JOB STATE CHANGE: starting (job = job2)
> OMPIProxyRuntimeClient got event: EVENT_RUNTIME_PROCATTR job=2
> {0}:<> [0]:
> *********** PROC ATTRIBUTE CHANGE: (job = job2)
> setting node[job2_process0]=sinope(0)
> OMPIProxyRuntimeClient got event: EVENT_RUNTIME_PROCATTR job=2
> {0}:<> [1]:
> *********** PROC ATTRIBUTE CHANGE: (job = job2)
> setting node[job2_process1]=axis(1)
> OMPIProxyRuntimeClient got event: EVENT_RUNTIME_JOBSTATE (jobid=2) state=2
> *********** JOB STATE CHANGE: running (job = job2)
> OMPIProxyRuntimeClient got event: EVENT_RUNTIME_JOBSTATE (jobid=2) state=3
> *********** JOB STATE CHANGE: exited (job = job2)
>
> I noticed that Preferences->PTP->Debug->SDM->"Path to Backend
> Debugger" is empty. Apart from "Extra SDM Arguments" also, the
> rest of the options are filled automatically.
> I'm using OpenMPI 1.2, and GDB 6.4.
>
> Am I missing something here?
>
> Jerome
>
>
> -- *We've Got Your Name @ Mail.com
> !!!*
> Get a *FREE* E-mail Account Today - Choose From 100+ Domains
> ------------------------------------------------------------------------
>
> _______________________________________________
> ptp-user mailing list
> ptp-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ptp-user
>


-- Clement Kam Man Chu
Research Assistant
Faculty of Information Technology
Monash University, Caulfield Campus
Ph: 61 3 9903 2355

_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user

--
We've Got Your Name @ Mail.com !!!
Get a FREE E-mail Account Today - Choose From 100+ Domains

Back to the top