[antlr-interest] ANTLRWorks 1.2b5 - Cannot Connect to C# Process

Jones, Larry Larry.Jones at aspentech.com
Wed Aug 13 20:10:15 PDT 2008


I was trying to use ANTLRWorks 1.2b5 on Windows XP to connect to a
parser generated in C#. I think I have followed the steps described in
the wiki. I:
- Built a lexer / parser using the -debug option. (I verified that the
generated parser inherits DebugParser.)
- Built an executable.
- Verified that it accepts command line input.
- Started in from a cmd window. It "hangs" waiting for console input.
- Started ANTLRWorks in a separate window.
- Opened the grammar used to generate my parser.
- Invoked Debugger | Remote Debug.
- When ANTLRWorks presents the connection dialog, I accepted the
defaults.
 
After a few minutes, ANTLRWorks displays an error message that it
"Cannot launch the debugger" because of a "Time-out waiting to connect
to the remote parser." The window from which I launched ANTLRWorks
contains a number of "java.net.ConnectException: Connection refused:
connect" messages.
 
What additional steps must I take to use ANTLRWorks 1.2b5 to debug a
remote C# parser?
 
Thanks.
 
--

Lawrence Allan Jones
Senior Developer / Technical Advisor
Aspen Technology, Inc.
2500 CityWest Blvd. Suite 1500
Houston, Texas 77042
USA
281-504-3324 (work)
281-504-3395 (fax)
larry.jones at aspentech.com
www.aspentech.com <http://www.aspentech.com/> 

 
 	
 

This e-mail and any attachments are intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified any dissemination, distribution or copying of this email, and any attachments thereto, is strictly prohibited. If you receive this email in error please immediately notify the sender and permanently delete the original copy and any copy of any e-mail, and any printout thereof.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080813/66acf1f9/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 2078 bytes
Desc: email_2_03.gif
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20080813/66acf1f9/attachment.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 200 bytes
Desc: email_2_04.gif
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20080813/66acf1f9/attachment-0001.gif 


More information about the antlr-interest mailing list