skip to Main Content

I noticed that in vscode, if I specify "\xD0\x00" in launch.json like so, the backslash gets removed, and the argument ends up becoming like "xD0x00".

If the argument is in the form of "xD0x00", it ends up becoming like "D000".

How do I pass the argument so that it gets picked up as "xD0x00"?

    "configurations": [
        {
            "name": "gcc.exe - Build and debug active file",
            "type": "cppdbg",
            "request": "launch",
            "program": "${fileDirname}\${fileBasenameNoExtension}",
            "args": [
                "-p",
                "\xD0\x00"                
            ],

2

Answers


  1. Chosen as BEST ANSWER

    I ended up using passing '"\xD0\x00"' as argument in launch.json.

    This argument gets passed as "xD0x00", with an extra function to looking for the double "" instead of a single "".


  2. You can try the following ways, which may help you.

    /xD0/x00

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search