Xojo Conferences
XDCMay2019MiamiUSA

Remote Debugging Port (Real Studio network user group Mailinglist archive)

Back to the thread list
Previous thread: accessing nil variant properties
Next thread: Porting MIDI variable-length quantity C code to REALbasic


Win32 API Declares   -   Berg, Heath
  Remote Debugging Port   -   Seth Willits
   Re: Remote Debugging Port   -   Aaron Ballman
   Re: Remote Debugging Port   -   Seth Willits
   Re: Remote Debugging Port   -   Aaron Ballman
   Re: Remote Debugging Port   -   Seth Willits
   Re: Remote Debugging Port   -   Aaron Ballman
   Re: Remote Debugging Port   -   Seth Willits
    Re:Remote Debugging Port   -   Knut Lorenzen
   Re: Remote Debugging Port   -   Aaron Ballman
   Re: Remote Debugging Port   -   Terry Ford
   Re: Remote Debugging Port   -   Seth Willits

Remote Debugging Port
Date: 30.01.05 20:28 (Sun, 30 Jan 2005 11:28:31 -0800)
From: Seth Willits
I got Remote Debugging working with VPC, but I have to turn of my
firewall in OS X. I added port 33445 to allow it through, but the
debugging app/remote debugger can't talk from Windows to OS X. If I
disable it, it works fine.


Seth Willits
------------------------------------------------------------------------
---
President and Head Developer of Freak Software - http://www.freaksw.com
REALbasic Guru at ResExcellence - http://www.resexcellence.com/realbasic

"Hi! I'm a .signature virus! Copy me into your ~/.signature to help me
spread!"
-- Vengeful Virii
------------------------------------------------------------------------
---

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Remote Debugging Port
Date: 30.01.05 20:30 (Sun, 30 Jan 2005 13:30:42 -0600)
From: Aaron Ballman
> I got Remote Debugging working with VPC, but I have to turn of my
> firewall in OS X. I added port 33445 to allow it through, but the
> debugging app/remote debugger can't talk from Windows to OS X. If I
> disable it, it works fine.

Because you're missing the UDP ports as well. You need to open up
44553 and 44554 for UDP communications as well.

HTH!

~Aaron

Re: Remote Debugging Port
Date: 30.01.05 20:42 (Sun, 30 Jan 2005 11:42:52 -0800)
From: Seth Willits
On Jan 30, 2005, at 11:30 AM, Aaron Ballman wrote:

>> I got Remote Debugging working with VPC, but I have to turn of my
>> firewall in OS X. I added port 33445 to allow it through, but the
>> debugging app/remote debugger can't talk from Windows to OS X. If I
>> disable it, it works fine.
>
> Because you're missing the UDP ports as well. You need to open up
> 44553 and 44554 for UDP communications as well.

I did that and it still doesn't work. I get the same error telling me
the debugging IDE couldn't be found.



Seth Willits
------------------------------------------------------------------------
---
President and Head Developer of Freak Software - http://www.freaksw.com
REALbasic Guru at ResExcellence - http://www.resexcellence.com/realbasic

"If you can't beat your computer at chess, try kick boxing."
-- Someone
------------------------------------------------------------------------
---

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Remote Debugging Port
Date: 30.01.05 20:45 (Sun, 30 Jan 2005 13:45:24 -0600)
From: Aaron Ballman
>>> I got Remote Debugging working with VPC, but I have to turn of my
>>> firewall in OS X. I added port 33445 to allow it through, but the
>>> debugging app/remote debugger can't talk from Windows to OS X. If I
>>> disable it, it works fine.
>>
>> Because you're missing the UDP ports as well. You need to open up
>> 44553 and 44554 for UDP communications as well.
>
> I did that and it still doesn't work. I get the same error telling me
> the debugging IDE couldn't be found.

Then I'm not certain why it's not functional for you aside from: you
must be missing steps in the magic dance to get VPC to remote debug.
I've never tried getting remote debugging to work under VPC, so perhaps
someone else has some insights. Also, I seem to recall someone posting
steps on the list before -- you may want to search the archives as
well.

HTH!

~Aaron

Re: Remote Debugging Port
Date: 30.01.05 21:38 (Sun, 30 Jan 2005 12:38:02 -0800)
From: Seth Willits
On Jan 30, 2005, at 11:45 AM, Aaron Ballman wrote:

> Then I'm not certain why it's not functional for you aside from: you
> must be missing steps in the magic dance to get VPC to remote debug.
> I've never tried getting remote debugging to work under VPC, so
> perhaps someone else has some insights. Also, I seem to recall
> someone posting steps on the list before -- you may want to search the
> archives as well.

Yeah, I just read through all that rigmarole. It works as long as OS
X's firewall is disabled. It can connect to the stub and send the
application, but when it launches the app, it gives a failed assertion
saying the app couldn't find the IDE. I'm pretty sure this doesn't have
anything to do with VPC specifically. It seems like OS X won't accept a
connection.

With a bit of help from tcpflow (which completely ignores -b!!), below
is the end of the beginning of a remote debug session.

192.168.000.007.52009-192.168.000.012.33445:
.MenuBar1.MenuBar1%o<MenuBar1>%.App.__Lookup._NewAppInstance._MakeDefaul
tView._Main._InitPluginEntrypoints.........
RUN 0002542.007.13897-192.168.000.012.01056: BRLA 00002D36

With the firewall on, the last message (RUN...) never gets sent.

192.168.0.7 is my number, .12 is the Windows machine. Ring any bells?
It's interesting to me that there's other ports involved than 33445,
44553, 44554.

Weird.... and as soon as I added 01056 to the ports allowed, the system
suddenly thinks there's other firewall software running and now won't
let me change my settings! Grrr...


Seth Willits
------------------------------------------------------------------------
---
President and Head Developer of Freak Software - http://www.freaksw.com
REALbasic Guru at ResExcellence - http://www.resexcellence.com/realbasic

"If God did not exist, it would be necessary to invent Him."
-- Voltaire
------------------------------------------------------------------------
---

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Remote Debugging Port
Date: 30.01.05 21:42 (Sun, 30 Jan 2005 14:42:36 -0600)
From: Aaron Ballman
> 192.168.000.007.52009-192.168.000.012.33445:
> .MenuBar1.MenuBar1%o<MenuBar1>%.App.__Lookup._NewAppInstance._MakeDefau
> ltView._Main._InitPluginEntrypoints.........
> RUN 0002542.007.13897-192.168.000.012.01056: BRLA 00002D36
>
> With the firewall on, the last message (RUN...) never gets sent.

Those are debugger commands, and the port is the debugger port. And I
bet if you open that port up, things will work just fine. I forgot
about the fact that the remote application is the one to contact the
IDE, so that port would need opening as well. Yeesh! So try opening
port 13897 and see how it goes.

~Aaron

Re: Remote Debugging Port
Date: 30.01.05 21:54 (Sun, 30 Jan 2005 12:54:08 -0800)
From: Seth Willits
On Jan 30, 2005, at 12:42 PM, Aaron Ballman wrote:

> Those are debugger commands, and the port is the debugger port. And I
> bet if you open that port up, things will work just fine. I forgot
> about the fact that the remote application is the one to contact the
> IDE, so that port would need opening as well. Yeesh! So try opening
> port 13897 and see how it goes.

I wish I could. My system is seriously spazzed out. It won't let me
change the firewall settings because it thinks some other firewall
software is running. Even after a restart, and even after killing the
firewall settings plist. I don't suppose you know how I could fix this?
:\ Stupid Windows. It screwed up my computer in less than an hour!

Seth Willits
------------------------------------------------------------------------
---
President and Head Developer of Freak Software - http://www.freaksw.com
REALbasic Guru at ResExcellence - http://www.resexcellence.com/realbasic

"If you can't beat your computer at chess, try kick boxing."
-- Someone
------------------------------------------------------------------------
---

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re:Remote Debugging Port
Date: 30.01.05 22:05 (Sun, 30 Jan 2005 22:05:43 +0100)
From: Knut Lorenzen
Seth Willits schrieb dereinst (am 30.01.2005 21:54 Uhr) via
<email address removed>:

> I wish I could. My system is seriously spazzed out. It won't let me
> change the firewall settings because it thinks some other firewall
> software is running.

Perhaps a

sudo ipfw flush

helps. Anyway, it can't get worse :)

Cheers,

Knut

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Remote Debugging Port
Date: 30.01.05 21:55 (Sun, 30 Jan 2005 14:55:55 -0600)
From: Aaron Ballman
>> Those are debugger commands, and the port is the debugger port. And
>> I bet if you open that port up, things will work just fine. I forgot
>> about the fact that the remote application is the one to contact the
>> IDE, so that port would need opening as well. Yeesh! So try opening
>> port 13897 and see how it goes.
>
> I wish I could. My system is seriously spazzed out. It won't let me
> change the firewall settings because it thinks some other firewall
> software is running. Even after a restart, and even after killing the
> firewall settings plist. I don't suppose you know how I could fix
> this? :\ Stupid Windows. It screwed up my computer in less than an
> hour!

I am not certain how to fix it -- never had that sort of an issue
before. And it sounds like it's an issue with your Mac, not Windows.
;-)

~Aaron

Re: Remote Debugging Port
Date: 30.01.05 22:06 (Sun, 30 Jan 2005 13:06:21 -0800)
From: Terry Ford

On 30-Jan-05, at 12:54 PM, Seth Willits wrote:

> I wish I could. My system is seriously spazzed out. It won't let me
> change the firewall settings because it thinks some other firewall
> software is running. Even after a restart, and even after killing the
> firewall settings plist. I don't suppose you know how I could fix
> this? :\ Stupid Windows. It screwed up my computer in less than an
> hour!

Actually windows is quite easy to use as long as you don't mess with
it. Once you do, however, you are looking at "re-installville".

I certainly hope you were working on a separate replaceable volume. I
have learned from past experience that when you play with fire, you're
OS in both VPC and MacOS can be really messed up.

As I said before, VPC is terrible since Microsoft took it over.

Hope you get straightened out,

Terry

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Remote Debugging Port
Date: 30.01.05 22:10 (Sun, 30 Jan 2005 13:10:05 -0800)
From: Seth Willits
On Jan 30, 2005, at 12:55 PM, Aaron Ballman wrote:

> I am not certain how to fix it -- never had that sort of an issue
> before. And it sounds like it's an issue with your Mac, not Windows.
> ;-)

Well it was caused as a result of attempting to work with Windows so :p
;-)

Anyway, I finally fixed the firewall problem, and adding 13897 to the
list of ports worked. Someone should add this to the Read Me for the
stub because it's not listed there.

Thanks Aaron!

Seth Willits
------------------------------------------------------------------------
---
President and Head Developer of Freak Software - http://www.freaksw.com
REALbasic Guru at ResExcellence - http://www.resexcellence.com/realbasic

"You may laugh at me for chasing a dream, but I'll have the last laugh
when I catch it."
------------------------------------------------------------------------
---

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>