[flexcoders] Re: How to debug PHP side in AIR applications?

2011-08-10 Thread enridp
Well, I can't change my IDE, I bought FB 4.5 for PHP the las month and I'm 
happy with it for now.
I think that if you and Johannes can debug the server side code even with AIR, 
then I must doing something wrong.

Maybe the problem is that I don't understand well how the debugger works, it's 
something like "magic" to me.
I found this graph:
http://gubed.mccabe.nu/?module=media&page=mediaview&media_code=flow2&themex=public
So I thought we need a Browser, or at least the query string added byt the 
browser and then PHP do the rest.

I will try to see with Charles or something else if my AIR app is sending the 
query for debugging.
Maybe configuring the debugger as remote is another option.



--- In flexcoders@yahoogroups.com, Pete  wrote:
>
> Hi there,
> 
> I use Nusphere PHPEd and when set up properly it works well, every 
> time.  This is using amfphp to make remote procedure calls btw.  It can 
> be on a remote server, with the dbg extension installed, or on localhost 
> (I use xampp).
> 
> I have found that the only safe way to break into the code is to put a 
> debugbreak() command in, I don't know what happens, but when the command 
> is executed, it seems to try really hard to find the debugger!  Works 
> with cli php code too, even if it's run from the command line.
> 
> Unfortunately it costs money...
> 
> But the final environment, stepping through client side as3 on one 
> screen and server side php on the other is pretty productive and well 
> worth the small outlay.
> 
> Regards,
> Pete
> 
> On 09/08/2011 13:15, enridp wrote:
> >
> > Hi johannes, I think I can't catch what you said, my projects are 
> > separated of course, but the problem, from what I see, is that the PHP 
> > debugger needs a browser (because it adds a lot of query strings for 
> > sessions and php debugging).
> > In AIR we don't have any browser, I have my PHP project, I have 
> > breakpoints in the PHP project of course too, even more, I have my AIR 
> > project linked with my PHP project in FB 4.5 for PHP.
> > But the PHP debug doesn't work with AIR
> >
> > Did you tested it?
> > I mean, are you debugging PHP in AIR applications?
> >
> > --- In flexcoders@yahoogroups.com 
> > , Johannes Nel  
> > wrote:
> > >
> > > split your projects, put a break point in the php code.
> > >
> > > On Mon, Aug 8, 2011 at 8:08 PM, enridp  wrote:
> > >
> > > > **
> > > >
> > > >
> > > > Hi ! I think I can't explain it better than my subject :)
> > > >
> > > > Flash Builder 4.5 for PHP it's wonderful for debugging both, Flex 
> > and PHP
> > > > side at the same time, but it doesn't work with AIR applications.
> > > >
> > > > Does somebody know a workaround for this?
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > j:pn
> > > \\no comment
> > >
> >
> >
>




Re: [flexcoders] Re: How to debug PHP side in AIR applications?

2011-08-09 Thread Pete

Hi there,

I use Nusphere PHPEd and when set up properly it works well, every 
time.  This is using amfphp to make remote procedure calls btw.  It can 
be on a remote server, with the dbg extension installed, or on localhost 
(I use xampp).


I have found that the only safe way to break into the code is to put a 
debugbreak() command in, I don't know what happens, but when the command 
is executed, it seems to try really hard to find the debugger!  Works 
with cli php code too, even if it's run from the command line.


Unfortunately it costs money...

But the final environment, stepping through client side as3 on one 
screen and server side php on the other is pretty productive and well 
worth the small outlay.


Regards,
Pete

On 09/08/2011 13:15, enridp wrote:


Hi johannes, I think I can't catch what you said, my projects are 
separated of course, but the problem, from what I see, is that the PHP 
debugger needs a browser (because it adds a lot of query strings for 
sessions and php debugging).
In AIR we don't have any browser, I have my PHP project, I have 
breakpoints in the PHP project of course too, even more, I have my AIR 
project linked with my PHP project in FB 4.5 for PHP.

But the PHP debug doesn't work with AIR

Did you tested it?
I mean, are you debugging PHP in AIR applications?

--- In flexcoders@yahoogroups.com 
, Johannes Nel  
wrote:

>
> split your projects, put a break point in the php code.
>
> On Mon, Aug 8, 2011 at 8:08 PM, enridp  wrote:
>
> > **
> >
> >
> > Hi ! I think I can't explain it better than my subject :)
> >
> > Flash Builder 4.5 for PHP it's wonderful for debugging both, Flex 
and PHP

> > side at the same time, but it doesn't work with AIR applications.
> >
> > Does somebody know a workaround for this?
> >
> >
> >
>
>
>
> --
> j:pn
> \\no comment
>




Re: [flexcoders] Re: How to debug PHP side in AIR applications?

2011-08-09 Thread Johannes Nel
I have a  different setup from you, but I debug my java backends without a
problem wether I make my request in air, ajax or flex.
A php project is a request response model, so no matter what initiates the
request you should be able to put a breakpoint in your code.

Your url request in air can have all those querystring variables.

On Tue, Aug 9, 2011 at 1:15 PM, enridp  wrote:

> **
>
>
> Hi johannes, I think I can't catch what you said, my projects are separated
> of course, but the problem, from what I see, is that the PHP debugger needs
> a browser (because it adds a lot of query strings for sessions and php
> debugging).
> In AIR we don't have any browser, I have my PHP project, I have breakpoints
> in the PHP project of course too, even more, I have my AIR project linked
> with my PHP project in FB 4.5 for PHP.
> But the PHP debug doesn't work with AIR
>
> Did you tested it?
> I mean, are you debugging PHP in AIR applications?
>
>
> --- In flexcoders@yahoogroups.com, Johannes Nel  wrote:
> >
> > split your projects, put a break point in the php code.
> >
> > On Mon, Aug 8, 2011 at 8:08 PM, enridp  wrote:
> >
> > > **
> > >
> > >
> > > Hi ! I think I can't explain it better than my subject :)
> > >
> > > Flash Builder 4.5 for PHP it's wonderful for debugging both, Flex and
> PHP
> > > side at the same time, but it doesn't work with AIR applications.
> > >
> > > Does somebody know a workaround for this?
> > >
> > >
> > >
> >
> >
> >
> > --
> > j:pn
> > \\no comment
> >
>
>  
>



-- 
j:pn
\\no comment


[flexcoders] Re: How to debug PHP side in AIR applications?

2011-08-09 Thread enridp
Hi johannes, I think I can't catch what you said, my projects are separated of 
course, but the problem, from what I see, is that the PHP debugger needs a 
browser (because it adds a lot of query strings for sessions and php debugging).
In AIR we don't have any browser, I have my PHP project, I have breakpoints in 
the PHP project of course too, even more, I have my AIR project linked with my 
PHP project in FB 4.5 for PHP.
But the PHP debug doesn't work with AIR

Did you tested it?
I mean, are you debugging PHP in AIR applications?


--- In flexcoders@yahoogroups.com, Johannes Nel  wrote:
>
> split your projects, put a break point in the php code.
> 
> On Mon, Aug 8, 2011 at 8:08 PM, enridp  wrote:
> 
> > **
> >
> >
> > Hi ! I think I can't explain it better than my subject :)
> >
> > Flash Builder 4.5 for PHP it's wonderful for debugging both, Flex and PHP
> > side at the same time, but it doesn't work with AIR applications.
> >
> > Does somebody know a workaround for this?
> >
> >  
> >
> 
> 
> 
> -- 
> j:pn
> \\no comment
>




Re: [flexcoders] Re: How to debug when I have IE crash?

2009-07-27 Thread Ronen Naor
Thx, I will give it a try

On Mon, Jul 27, 2009 at 7:33 AM, jedierikb  wrote:

>
>
> this might be helpful:
>
> http://stackoverflow.com/questions/560979/how-to-debug-swf-browser-crashes
>
>
> --- In flexcoders@yahoogroups.com , Ronen
> Naor  wrote:
> >
> > Hi,We are having quite a lot of IE crashes when running our Flex 3
> > applications.
> > Usually the clients use IE 7 or 8 and the flash player version is > 10.
> > How can I debug it? Is there some kind of logs I can see?
> >
> > Thanks,
> > Ronen
> >
>
>  
>


[flexcoders] Re: How to debug when I have IE crash?

2009-07-26 Thread jedierikb
this might be helpful:

http://stackoverflow.com/questions/560979/how-to-debug-swf-browser-crashes

--- In flexcoders@yahoogroups.com, Ronen Naor  wrote:
>
> Hi,We are having quite a lot of IE crashes when running our Flex 3
> applications.
> Usually the clients use IE 7 or 8 and the flash player version is > 10.
> How can I debug it? Is there some kind of logs I can see?
> 
> Thanks,
> Ronen
>




[flexcoders] Re: How to debug

2008-06-16 Thread Bjorn Schultheiss
When I get lost I start removing code until i can get a working build.
Provided you can you adl to debug other apps this approach should help.

--- In flexcoders@yahoogroups.com, Josh Millstein <[EMAIL PROTECTED]> wrote:
>
> I've got an application that I'm building that just started crashing
adl.
> Is there anyway to debug something like this?  I have traced the
issue to a
> semi-specific area of my code, but when it crashes I can't use any
of the
> debug stuff to get a closer look at the problem.
> -- 
> [EMAIL PROTECTED]
> 785-832-9154
>




[flexcoders] Re: How to Debug Flex 2 Beta 3 with FireFox

2006-05-10 Thread mvbaffa



Thanks Michael,

I could make it work turning Firfox the default browser and boot the 
machine.

Do you have any information about the problem with the debug version 
of Flash 9 and Internet Explorer 

Thanks in advance

--- In flexcoders@yahoogroups.com, "Michael Schmalle" 
<[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> Goto Window -> Preferences -> General -> Web Browser;
> 
> Check FireFox and that will do it ;-)
> 
> Peace, Mike
> 
> On 5/10/06, mvbaffa <[EMAIL PROTECTED]> wrote:
> >
> > Hi All,
> >
> > I have Internet Explorer and ForeFox installed, FireFox is my 
default
> > browser. When I ask Flex 2 Beta 3 to debug my application it 
allways
> > starts Internet Explorer.
> >
> > The problem is that I can not debug with Beta 3, I have already 
posted
> > a message about that. So I would like to turn FireFox my debug 
browser.
> >
> > How can I do it ?
> >
> > Thanks in advance
> >
> >
> >
> >
> >
> >  --
> > Flexcoders Mailing List
> > FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
> >
> >
> >
> >  SPONSORED LINKS
> >   Web site design development  Computer
> > software development  Software
> > design and development   Macromedia
> > flex  Software
> > development best practice
> >  --
> > YAHOO! GROUPS LINKS
> >
> >
> >    -  Visit your 
group "flexcoders"
> >    on the web.
> >
> >    -  To unsubscribe from this group, send an email to:
> > [EMAIL PROTECTED]
[EMAIL PROTECTED]>
> >
> >    -  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> >    Service .
> >
> >
> >  --
> >
> 
> 
> 
> --
> What goes up, does come down.
>










--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.