Results 1 to 20 of 170

Thread: Edyuk : fully-featured, highly flexible and free cross-platform IDE

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2007
    Posts
    8
    Thanks
    2
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Question Re: Edyuk : fully-featured, highly flexible and free cross-platform IDE

    After running edyuk-debug I am not able to find the run.log anywhere.
    I have diffed the edyukappliation with it's original as below, is it some thing else I am missing?

    Qt Code:
    1. C:\qtwork\edyuk-0.9.1\src\lib>diff edyukapplication.cpp edyukapplication.cpp.ORG
    2. 75c75
    3. < static QTextStream cout(stdout), cerr(stderr), clog;
    4. ---
    5. > //static QTextStream cout(stdout), cerr(stderr), clog;
    6. 93c93
    7. < clog << type[t] << msg << endl;
    8. ---
    9. > //clog << type[t] << msg << endl;
    10. 98c98
    11. < clog << "aborting..." << endl;
    12. ---
    13. > //clog << "aborting..." << endl;
    14. 142c142
    15. < clog.setDevice(pEdyukLogFile);
    16. ---
    17. > //clog.setDevice(pEdyukLogFile);
    To copy to clipboard, switch view to plain text mode 

    BTW the debug edyuk justs shows up in task manager and no GUI comes up, then terminates after a few seconds. Any Idea?
    Just set the debug options as you mentioned i.e.:
    CONFIG += debug and
    add Q_OBJECT to QMakeParser declaration in src/default/qmakemodel/qmakeparser.h

  2. #2
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Edyuk : fully-featured, highly flexible and free cross-platform IDE

    Quote Originally Posted by srikpen View Post
    After running edyuk-debug I am not able to find the run.log anywhere.
    I have diffed the edyukappliation with it's original as below, is it some thing else I am missing?

    Qt Code:
    1. C:\qtwork\edyuk-0.9.1\src\lib>diff edyukapplication.cpp edyukapplication.cpp.ORG
    2. 75c75
    3. < static QTextStream cout(stdout), cerr(stderr), clog;
    4. ---
    5. > //static QTextStream cout(stdout), cerr(stderr), clog;
    6. 93c93
    7. < clog << type[t] << msg << endl;
    8. ---
    9. > //clog << type[t] << msg << endl;
    10. 98c98
    11. < clog << "aborting..." << endl;
    12. ---
    13. > //clog << "aborting..." << endl;
    14. 142c142
    15. < clog.setDevice(pEdyukLogFile);
    16. ---
    17. > //clog.setDevice(pEdyukLogFile);
    To copy to clipboard, switch view to plain text mode 
    The log file should be placed in Edyuk::settingsPath() which should expand to ~/.Edyuk-$version$/ so in your case ~/.Edyuk-0.9.1 (or ~/.Edyuk-1.0.0-alpha in case you use the SVN trunk)

    Quote Originally Posted by srikpen View Post
    BTW the debug edyuk justs shows up in task manager and no GUI comes up, then terminates after a few seconds. Any Idea?
    It might come from an assert failure... You know Qt uses a lot of Q_ASSERT() macro everywhere and it can result in very different behaviours of debug and release builds... The best way to figure out what's wrong is to run on command line or under gdb. This way you'll know why the debug build fails and we'll be able to fix this
    Current Qt projects : QCodeEdit, RotiDeCode

  3. #3
    Join Date
    Jan 2007
    Posts
    8
    Thanks
    2
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Smile Re: Edyuk : fully-featured, highly flexible and free cross-platform IDE

    Sorry for bothering you much. But I am not a windows guy.
    with gdb I'm comfortable on linux.

    I feel impaired with the windows thing.
    You have any idea how I can get started debugging this with proper tools on windows.
    I don't want to start configuring tools to get running, some quicky debugger, ctags(or find, grep) kind of thing on windows?

    Just wanted to know, I see you're also not a windows guy but thought you might have some idea.

    thanks
    sri.

  4. #4
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Edyuk : fully-featured, highly flexible and free cross-platform IDE

    Quote Originally Posted by srikpen View Post
    Sorry for bothering you much. But I am not a windows guy.
    I'm a little lost here? Do you mean you're testing under Window$ and facing troubles there that you don't know how to handle?

    Quote Originally Posted by srikpen
    You have any idea how I can get started debugging this with proper tools on windows.
    I don't want to start configuring tools to get running, some quicky debugger, ctags(or find, grep) kind of thing on windows?

    Just wanted to know, I see you're also not a windows guy but thought you might have some idea.
    Sure! gdb is also available under Window$. You don't need ctags to use Edyuk code completion but I think it is available for Win as well. As for grep/find and other *nix tools I don't think there is any equivalent but you can always have a look at Cygwin...

    Hope this helps
    Current Qt projects : QCodeEdit, RotiDeCode

  5. #5
    Join Date
    Jan 2007
    Posts
    8
    Thanks
    2
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Post Re: Edyuk : fully-featured, highly flexible and free cross-platform IDE

    Yep I don't know how to traverse the code fast on Windows. I am using gvim for windows. I will try to find the equivalent ctags and also the gdb.

    I am finding it painful to find the bug. Just make a change and then recompile it again which takes about 10 mins.
    I was just wondering if there's a fast way of doing the debugging?

    thanks much.

  6. #6
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Edyuk : fully-featured, highly flexible and free cross-platform IDE

    Quote Originally Posted by srikpen View Post
    Yep I don't know how to traverse the code fast on Windows. I am using gvim for windows. I will try to find the equivalent ctags and also the gdb.
    What do you mean by "traverse the code" ?

    Quote Originally Posted by srikpen View Post
    I am finding it painful to find the bug. Just make a change and then recompile it again which takes about 10 mins.
    Which files did you change to get such a long re-compilation? Make normally keep track of dependencies between files to reduce compilation time once an app has been build once...

    Quote Originally Posted by srikpen View Post
    I was just wondering if there's a fast way of doing the debugging?
    It depends on what you mean... Once you have compiled the app in debug mode all you need is to run it within gdb... Note that you can also run an app not build in debug mode within gdb but the output of some commands will be trickier to understand (backtrace for instance) and some commands won't even work... It should anyway be enough to track down the place where Edyuk fails...
    Current Qt projects : QCodeEdit, RotiDeCode

  7. #7
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Edyuk : fully-featured, highly flexible and free cross-platform IDE

    Hi all,

    After some long days of struggle with model/view quirks, line endings and other tricky issues I've come to something much more stable. Yet, before releasing a package I'd like some tests to be done on other platforms than just UNIX/Linux.

    The code is available through SVN : https://edyuk.svn.sf.net/svnroot/edyuk/0.9.0

    As I know most Win32 users are not familiar with SVN, a package is available as well...
    Current Qt projects : QCodeEdit, RotiDeCode

  8. #8
    Join Date
    Sep 2006
    Posts
    339
    Thanks
    15
    Thanked 21 Times in 16 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Edyuk : fully-featured, highly flexible and free cross-platform IDE

    I tried running edyuk but get this error

    Qt Code:
    1. /home/rajeev/Desktop/edyuk-0.9.2 # ./build -r
    2.  
    3. --- Checking configuration ---
    4. Qt version : [OK] 4.2.1
    5. qmake command : [OK] qmake
    6. --- Configuration successful ---
    7.  
    8. --- Building Edyuk ---
    9. Moving to directory src/lib
    10. Moving to directory src/exec
    11. Moving to directory src/default
    12. --- Compilation successful ---
    13.  
    14. application edyuk not found after trying :
    15. /home/rajeev/Desktop/edyuk-0.9.2/./edyuk.bin
    16. ./edyuk.bin
    To copy to clipboard, switch view to plain text mode 

  9. #9
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Edyuk : fully-featured, highly flexible and free cross-platform IDE

    Quote Originally Posted by vermarajeev View Post
    I tried running edyuk but get this error

    Qt Code:
    1. /home/rajeev/Desktop/edyuk-0.9.2 # ./build -r
    2.  
    3. --- Checking configuration ---
    4. Qt version : [OK] 4.2.1
    5. qmake command : [OK] qmake
    6. --- Configuration successful ---
    7.  
    8. --- Building Edyuk ---
    9. Moving to directory src/lib
    10. Moving to directory src/exec
    11. Moving to directory src/default
    12. --- Compilation successful ---
    13.  
    14. application edyuk not found after trying :
    15. /home/rajeev/Desktop/edyuk-0.9.2/./edyuk.bin
    16. ./edyuk.bin
    To copy to clipboard, switch view to plain text mode 
    For an unknown reason make doesn't seem to respect return value conventions (or maybe I badly checked for a 0 return value in the script...). Anyway the "compilation successfu" message is not to be trusted unless you show other message about the ongoing build process (such as "Compiling x.cpp", "moc'ing X.H" and "Linking x.so"...). Hopefully the script creates a log file (.compile.log) that you'll find in the main directory and which should explain why compilation failed...

    edit : did you check the content of the folder once you had built Edyuk? It just occured to me that I might I left debug as default build mode... Try this command instead of ./build -r :
    $ ./edyuk_debug
    Last edited by fullmetalcoder; 28th June 2007 at 09:14.
    Current Qt projects : QCodeEdit, RotiDeCode

  10. #10
    Join Date
    Sep 2006
    Posts
    339
    Thanks
    15
    Thanked 21 Times in 16 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Edyuk : fully-featured, highly flexible and free cross-platform IDE

    Try this command instead of ./build -r :
    $ ./edyuk_debug
    Yep that works. We'll let you know if any error.

    By the way, I just see your profile as fullmentalcoder, can I know your unidentified name.

  11. #11
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Edyuk : fully-featured, highly flexible and free cross-platform IDE

    Quote Originally Posted by vermarajeev View Post
    Yep that works. We'll let you know if any error.
    Good! I'm looking forward to hearing your comments

    Quote Originally Posted by vermarajeev View Post
    By the way, I just see your profile as fullmentalcoder, can I know your unidentified name.
    I thought it was fullmetalcoder (no 'n') If you search a bit you won't have troubles to find my name (have a look at the contest page for instance...)
    Current Qt projects : QCodeEdit, RotiDeCode

  12. #12
    Join Date
    Sep 2006
    Posts
    339
    Thanks
    15
    Thanked 21 Times in 16 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Edyuk : fully-featured, highly flexible and free cross-platform IDE

    Hi Luc,
    I started using edyuk, I was able to load a project. The IDE is really good. CONGRATS...

    I have a problem debugging my programs. I followed these steps.
    1) Open the .pro file.
    2) Then I couldn't find any shortcut to place a breakpoint, so did by right clicking
    3) clicked Debug->Start Debugging
    4) Get this error from the Debug.log displayed at bottom
    ---------- process gdb started ----------
    [/home/rajeev/Desktop] gdb --quiet --fullname /home/rajeev/Desktop/edyuk-0.9.2
    /home/rajeev/Desktop/edyuk-0.9.2: No such file or directory.
    (gdb) start
    No symbol table loaded. Use the "file" command.
    (gdb) continue
    The program is not being run.
    (gdb)
    Any idea???

    One more thing,
    In windows, we have shortcuts to
    1) place a breakpoint
    2) run the debugger with F5
    3) Go to next step using F10
    etc etc. The life of user is made much easier, rather than going and doing all other stuffs. Cant we provide shortcuts to make Edyup a more user friendly in terms of debugging.

    Thanks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.