Thread: Debugging In Pelles C Plz Help

  1. #31
    Registered User andrew89's Avatar
    Join Date
    Dec 2011
    Location
    Indiana, United States
    Posts
    80
    Quote Originally Posted by joybanerjee39 View Post
    there is obviously some miscommunication going on here.

    go to the "assembler tab" again . you have made the "debugg information" set to "full" there. make it "none". only the "compiler" tab "debug information" is required to set to "full".
    and , when beside the "project" tab you will find "source" tab. click on it. you will find "view line numbers", "view matching braces". click them . they will get checked.
    let us know, whether you have got it or not
    I swears I didn't do it! :P

    In all for-serial-ness, I really do hope this works.

  2. #32
    Registered User joybanerjee39's Avatar
    Join Date
    Oct 2011
    Location
    kolkata
    Posts
    106
    Quote Originally Posted by andrew89 View Post
    I swears I didn't do it! :P

    In all for-serial-ness, I really do hope this works.
    oops! sorry!my bad!
    my post was intended to @anitrex

  3. #33
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    @Anitrex:

    It's not going to work until you follow the directions - exactly. Set your project options up just like below, for the Compiler tab, the Assembler tab (which shouldn't have been changed at all from the default), and the Linker tab. Then click on the OK button - otherwise your settings will not be changed.

    This is the pics to show the settings I use, and clearly, the debugger is working just fine - no assembly in sight.

    @Andrew: you're having WAY too much fun with this!
    Attached Images Attached Images Debugging In Pelles C Plz Help-test1compilertab-png Debugging In Pelles C Plz Help-test1assemblertab-png Debugging In Pelles C Plz Help-test1linkertab-png Debugging In Pelles C Plz Help-test1debugscreen-jpg 
    Last edited by Adak; 12-26-2011 at 05:11 AM.

  4. #34
    Registered User
    Join Date
    Dec 2011
    Location
    India
    Posts
    35
    Actually i tried with both settings...the assemler set to none and full...

    Either of them didn't work..

    And yes i have aldready market the required options under source...still i get the debugging like shown in the last screenshot!

    Debugging In Pelles C Plz Help-00-jpgDebugging In Pelles C Plz Help-11-jpgDebugging In Pelles C Plz Help-22-jpg

  5. #35
    Registered User
    Join Date
    Dec 2011
    Location
    India
    Posts
    35
    Tried it with both...Assember None and Full...(Check some more pics i put)...Doesn't make any difference!

    Still the same problem!

    Actually thinking i think i have gone through every possible combination i could find!

    Quote Originally Posted by andrew89 View Post
    I swears I didn't do it! :P

    In all for-serial-ness, I really do hope this works.

  6. #36
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    OK, pin your snippet tool in windows to your task bar, and post up the following pics:

    Your project options Compiler tab settings
    your project options Assembler tab settings
    and your project options Linker tab settings

    Just like I did above.

  7. #37
    Registered User andrew89's Avatar
    Join Date
    Dec 2011
    Location
    Indiana, United States
    Posts
    80
    @Adak, I'm just so confused. What is this bloated OS you guys are using?

    :shrug:


    ...


    :lol:

  8. #38
    Registered User joybanerjee39's Avatar
    Join Date
    Oct 2011
    Location
    kolkata
    Posts
    106
    Quote Originally Posted by andrew89 View Post
    @Adak, I'm just so confused. What is this bloated OS you guys are using?

    :shrug:


    ...


    :lol:
    andrew , do you use pelles c?
    if not then there is no need to increase your post count by posting unnecessary comments.

  9. #39
    Registered User andrew89's Avatar
    Join Date
    Dec 2011
    Location
    Indiana, United States
    Posts
    80
    Quote Originally Posted by joybanerjee39 View Post
    andrew , do you use pelles c?
    if not then there is no need to increase your post count by posting unnecessary comments.
    No. I don't. Was your post helpful at all to the OP? If not, then there is no need to increase your post count my posting unnecessary comments.

    Good day to you sir.

  10. #40
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    Quote Originally Posted by andrew89 View Post
    @Adak, I'm just so confused. What is this bloated OS you guys are using?

    :shrug:
    The OS? Windows 7 x64.

    The IDE is Pelles C (Only C, and only for 32 or 64 bit Windows). Like every IDE, you have a lot of options for compiler, assembler, linker, debugger, profiler, etc.

    It's really nice, and simpler than many others - the OP just got off on the wrong start, and hasn't hit on the right combo of settings yet.

    Frankly, I appreciate the humor. Times like this, you need it.

  11. #41
    Registered User andrew89's Avatar
    Join Date
    Dec 2011
    Location
    Indiana, United States
    Posts
    80
    Yeah, Christmas, unemployment, and to top it all off, wrong settings on an IDE. I used to use Dev's C++ then I moved to notepad++ and mingw to work with C++ and then I got bored with Windows and decided to move to web development and C. I played with Java but I couldn't understand a word of it! Seriously though, 7 is a solid o/s and I have nothing against it or Pelles.

    I have a few things to say about Micro$oft, but I'll bite my tongue for now lol.

    Seriously though, I've looked around on google and couldn't find anything other than what these guys are suggesting. If Adak's suggestion doesn't work there isn't much else I have found. Ironically, the only other thing I could find related to this was posted mainly by Tater his-self and it solved the guys problem. As I can't sit down and look at the thing I don't know if it applies or not (says something about line-by-line debugging).

    help debugging in Pelles C IDE

  12. #42
    Registered User joybanerjee39's Avatar
    Join Date
    Oct 2011
    Location
    kolkata
    Posts
    106
    Quote Originally Posted by joybanerjee39 View Post
    andrew , do you use pelles c?
    if not then there is no need to increase your post count by posting unnecessary comments.
    i use pelles c . and i am pointing the op towards the right direction(like adak and common tater). he is not getting it because he is confused.

    do you think that you are even trying to help him?

    good day to you too!

  13. #43
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    Tater is the one who showed me how to run the debugger in Pelles C, without seeing the assembly code window.

    Come to think of it, I had the same problem in VC 6.0!

  14. #44
    Registered User joybanerjee39's Avatar
    Join Date
    Oct 2011
    Location
    kolkata
    Posts
    106
    Quote Originally Posted by andrew89 View Post

    Seriously though, I've looked around on google and couldn't find anything other than what these guys are suggesting. If Adak's suggestion doesn't work there isn't much else I have found. Ironically, the only other thing I could find related to this was posted mainly by Tater his-self and it solved the guys problem. As I can't sit down and look at the thing I don't know if it applies or not (says something about line-by-line debugging).

    help debugging in Pelles C IDE
    this is what i call a genuine effort to help!

    i have no intention to get into a conflict with you!
    but, think about it. if you were the op, your brain is completely messed up. you are wishing that the problem is solved. you get a new post, you open it and find it's nothing but a joke. would you feel good?
    Last edited by joybanerjee39; 12-26-2011 at 09:24 AM.

  15. #45
    Registered User
    Join Date
    Dec 2011
    Location
    India
    Posts
    35
    Okk Finally Got It!

    Should have read "CommonTater's Instruction For The Terminally Dumb" more carefully!

    If i tell what mistake i had done i am sure CommonTater will come after me with a 12-guage Shotgun!

    Actually its too foolish to even be called a mistake!

    @CommonTater -- I have a confession to make:You were right
    I AM TERMINALLY STUPID!

    @Adak -- Thanks for your patience and co-operation...And sorry to bother you so much :-(


Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Basics in Pelles C
    By Vxyz in forum C Programming
    Replies: 35
    Last Post: 08-02-2011, 01:46 PM
  2. Compiling C++ on Pelles C....
    By CommonTater in forum C++ Programming
    Replies: 2
    Last Post: 05-27-2011, 07:56 PM
  3. Pelles C Temperature
    By uneasybbj in forum C Programming
    Replies: 4
    Last Post: 11-23-2010, 01:51 PM
  4. help debugging in Pelles C IDE
    By gaurav9991 in forum C Programming
    Replies: 3
    Last Post: 10-30-2010, 07:15 AM
  5. Opinion on C99 ver. of Pelles C IDE?
    By Adak in forum C Programming
    Replies: 0
    Last Post: 03-13-2009, 07:27 PM