string operation and related exception

This is a discussion on string operation and related exception within the C++ Programming forums, part of the General Programming Boards category; I tried my own int 3 code. With your code, it catches the exception if not run inside debugger....

  1. #61
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    23,033
    I tried my own int 3 code.
    With your code, it catches the exception if not run inside debugger.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  2. #62
    Registered User
    Join Date
    May 2006
    Posts
    1,579
    Hi Elysia,


    Sorry I have more made myself understood. I mean in my environment, the exception handler code inside __except is executed. But the JIT debugger -- select debugger dialog -- is not displayed.

    The dialog displayed in your environment?

    Quote Originally Posted by Elysia View Post
    I tried my own int 3 code.
    With your code, it catches the exception if not run inside debugger.

    regards,
    George

  3. #63
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    23,033
    Quote Originally Posted by George2 View Post
    Sorry I have more made myself understood. I mean in my environment, the exception handler code inside __except is executed. But the JIT debugger -- select debugger dialog -- is not displayed.

    The dialog displayed in your environment?
    No, it is never displayed because the __except catches the exception and executes the code inside that block.
    Remove the __except and you'll get the dialog.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  4. #64
    Registered User
    Join Date
    May 2006
    Posts
    1,579
    Thanks Elysia,


    I feel we are off-topic for the original topic. However, it is always good to communicate and learn from you.

    I have started a new thread and make the question more clear including the quoted MSDN resources. It is appreciated if you and others could continue discussion there. :-)

    http://cboard.cprogramming.com/showt...058#post725058


    Quote Originally Posted by Elysia View Post
    No, it is never displayed because the __except catches the exception and executes the code inside that block.
    Remove the __except and you'll get the dialog.

    regards,
    George

Page 5 of 5 FirstFirst 12345
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 16
    Last Post: 11-23-2007, 01:48 PM
  2. Looking for examples for string related programs
    By koloth in forum C Programming
    Replies: 5
    Last Post: 04-15-2003, 12:57 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21