aspose file tools*
The moose likes Java in General and the fly likes tool to discover a syntax problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "tool to discover a syntax problem" Watch "tool to discover a syntax problem" New topic
Author

tool to discover a syntax problem

bob connolly
Ranch Hand

Joined: Mar 10, 2004
Posts: 204
hello,

i have a program that was running fine, it's a huge java pgm, and i must have fat fingered a bracket or something and i can't seem to find the bug problem!

is there a tool that can help visualize the braces/brackets?

i tried jedit but it aligns itself with the commented out brackets for some reason

thanks for any suggesstions!

bc
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24184
    
  34

Any decent IDE or programmer's editor will do this; everything from Emacs to Eclipse. If JEdit seems to be formatting the code as if braces inside a comment are significant, perhaps the problem is that the comment itself is messed up. Is there a "*/" inside a block comment? Is there a space between the slashes in a "//" ? Another thing a decent editor will do is syntax coloring, and if you see a colored version of your source, this can be a quick way to see that a comment is being interpreted incorrectly.


[Jess in Action][AskingGoodQuestions]
bob connolly
Ranch Hand

Joined: Mar 10, 2004
Posts: 204
thanks again Earnest! that's exactly what it was, i fat fingered a comment!!!

i have to say Earnest, i'm still always amazed when you answer a post on the Ranch! your a genuine celebrity in my book!

have a goodone Earnest and i don't think a week goes by that i don't think about JESS and how i can incorporate it into somehting!

bc
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tool to discover a syntax problem