Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Is there a method for the terminal window to also receive the "segmentation fault (core dumped) ./a.exe" message? #293

Open
@0BananaBig0

Description

I found that if the segmentation fault occurred because of my bad code, the terminal window does not receive or display this information. Is there a method to address this issue?

#include <iostream>
class DerivedA {
 public:
 ~DerivedA() { delete this; };
};
class DerivedB {};
int main() {
 [[maybe_unused]] DerivedA a;
 return 0;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /