New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with string VS Code C++ #1678
Comments
I'm a little unclear as to what your error is. Do you see red underlines under the |
@Craix Are you using MinGW or Cygwin? I found associated StackOverflow posts on that error code.
From those they say:
Can you also share the version of the compiler and the version of gdb that you are using? |
I have some troubles when i try run this code i don't know what type of problems is it. (I think that was an error because of this message ERROR: During startup program exited with code 0xc0000139) task.json
launch.json
VS CODE version 1.20.1 I'm using MinGW GNU gdb 7.6.1
Maybe i will try this but which version of mingw should i use? |
I also have the same problem over here. In vs strings are working properly and in vs code they crash on startup with code 0xc0000139 (btw with the function Delete there is also the same error) . An easy fix for this problem is to replace string text by char text[]. Did anyone in the meanwhile manage to get string/delete working in vs code? |
Closing this issue as the last response is more than a year old. Update to the latest version of the C/C++ extension and see if issue still persists. Please re-open the issue and reply with additional information that can help us investigate the issue. |
Hello, it's first time when i try to use VS Code <normaly i use VS 2017>. Follow this tutorial "
https://code.visualstudio.com/docs/languages/cpp" i try to compile and debug my code but then i got error with "string variable". (i'm not sure about it, but programs works good without this and get error when i try add and use string variables).
Error code:
=thread-group-added,id="i1" GNU gdb (GDB) 7.6.1 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "mingw32". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. =cmd-param-changed,param="pagination",value="off" [New Thread 1040.0x1648] gdb: unknown target exception 0xc0000139 at 0x77d8d572 ERROR: During startup program exited with code 0xc0000139. The program 'C:\...\main.exe' has exited with code 0 (0x00000000).
The text was updated successfully, but these errors were encountered: