Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Geben setup local path to php source + set breakpoint
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Felix Dorner  
View profile  
 More options Nov 13 2010, 3:40 pm
From: Felix Dorner <felix.dor...@gmail.com>
Date: Sat, 13 Nov 2010 12:40:28 -0800 (PST)
Local: Sat, Nov 13 2010 3:40 pm
Subject: Geben setup local path to php source + set breakpoint
Hi,

installed latest release + emacs 23.1.1 from ubuntu. Debugging
remotely via pydbgproxy - works like a charm, great job! Now I have
two questions:

1) It looks like when the session starts, the current file is fetched
(i guess via ssh?) into a temporary emacs buffer. I have the stuff
that's being debugged also locally. Is there a way to specify a path-
mapping, like this is seen in the eclipse pdt debugger for example?

2) How can I set a breakpoint in a file that's not currently open, but
I know that control flow will pass there sooner or later?

Thanks for your help.
Felix


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
花井達  
View profile  
 More options Nov 14 2010, 7:08 pm
From: 花井達 <hanai.to...@gmail.com>
Date: Mon, 15 Nov 2010 09:08:44 +0900
Local: Sun, Nov 14 2010 7:08 pm
Subject: Re: Geben setup local path to php source + set breakpoint
Hi Felix,

> 1) It looks like when the session starts, the current file is fetched
> (i guess via ssh?) into a temporary emacs buffer. I have the stuff
> that's being debugged also locally. Is there a way to specify a path-
> mapping, like this is seen in the eclipse pdt debugger for example?

I'm not sure what `path-mapping' really means.
If you're asking whether you can make geben to use original source file
directly, the answer is `no' at this moment.

Sometimes I want that feature, too. Especially when geben takes time
to fetch a large file. (The fetching is done through the dbgp protocol).

Once geben had treated files in that way, but I've eliminated it, as I thought
it would be more painful for average users when they wanted to edit
debugee files during a debugging session.

So, if there would be big reasons, the direct referring feature won't be brought
back.

> 2) How can I set a breakpoint in a file that's not currently open, but
> I know that control flow will pass there sooner or later?

It's not implemented, yet.
There are functions that each debugger engine provides, including breaking
a running session. It would be an easier way to do.
For python, dbgp.client.brk() is it. And For PHP, it's xdebug_break().

Regards,
reedom


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Felix Dorner  
View profile   Translate to Translated (View Original)
 More options Nov 15 2010, 5:41 am
From: Felix Dorner <felix.dor...@gmail.com>
Date: Mon, 15 Nov 2010 02:41:42 -0800 (PST)
Local: Mon, Nov 15 2010 5:41 am
Subject: Re: Geben setup local path to php source + set breakpoint

> Sometimes I want that feature, too. Especially when geben takes time
> to fetch a large file. (The fetching is done through the dbgp protocol).

Ah ok. Didn't know that. Well, I guess I can live with it.

> > 2) How can I set a breakpoint in a file that's not currently open, but
> > I know that control flow will pass there sooner or later?

> It's not implemented, yet.
> There are functions that each debugger engine provides, including breaking
> a running session. It would be an easier way to do.
> For python, dbgp.client.brk() is it. And For PHP, it's xdebug_break().

Nice. Didn't know that either. Easy peasy.

Great job!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »