• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

tool to discover a syntax problem

 
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
bob connolly
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic