eGospodarka.pl
eGospodarka.pl poleca

eGospodarka.plGrupypl.comp.programmingproblem z if przy debugowaniu w VSCode › Re: problem z if przy debugowaniu w VSCode
  • Path: news-archive.icm.edu.pl!news.icm.edu.pl!wsisiz.edu.pl!.POSTED.user-5-173-128-14
    7.play-internet.pl!not-for-mail
    From: RM <r...@w...pl>
    Newsgroups: pl.comp.programming
    Subject: Re: problem z if przy debugowaniu w VSCode
    Date: Thu, 16 Apr 2020 15:50:58 +0200
    Organization: http://www.wit.edu.pl
    Message-ID: <r79ns3$senb$1@portraits.wsisiz.edu.pl>
    References: <r77hn3$5uj3$1@portraits.wsisiz.edu.pl>
    Mime-Version: 1.0
    Content-Type: text/plain; charset=utf-8; format=flowed
    Content-Transfer-Encoding: 8bit
    Injection-Date: Thu, 16 Apr 2020 13:50:59 -0000 (UTC)
    Injection-Info: portraits.wsisiz.edu.pl;
    posting-host="user-5-173-128-147.play-internet.pl:5.173.128.147";
    logging-data="932587"; mail-complaints-to="a...@w...edu.pl"
    User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
    Thunderbird/68.2.1
    In-Reply-To: <r77hn3$5uj3$1@portraits.wsisiz.edu.pl>
    Content-Language: en-US
    Xref: news-archive.icm.edu.pl pl.comp.programming:214859
    [ ukryj nagłówki ]

    W dniu 15.04.2020 o 19:53, RM pisze:
    > Mam problemik przy debugowaniu w VSCode pod Linuxem.
    > Mam taki kod w C++:
    >
    > if (m + 1 < matches2.size() - 1) {
    >   next_start = strstr(next.c_str(), matches2.str(m + 1).c_str()) -
    > next.c_str();
    > } else {
    >   next_start = next.length();
    > }
    >
    > i mimo że m = 1 oraz matches2.size() == 5 to debuger wchodzi mi do
    > gałęzi else. (Zmienna m jest typu unsigned int a zmienna matches2 typu
    > smatch.)
    > Jak to możliwe?

    Chyba już wiem o co chodziło. W Debug Console znalazłem:
    Warning: Source file
    '/home/robert/dirtyphp/dirtyphp_cpp/src/obfuscator.c
    pp' is newer than
    module file '/home/robert/dirtyphp/dirtyphp_cpp/build/apps/dirty
    php'.

Podziel się

Poleć ten post znajomemu poleć

Wydrukuj ten post drukuj


Następne wpisy z tego wątku

Najnowsze wątki z tej grupy


Najnowsze wątki

Szukaj w grupach

Eksperci egospodarka.pl

1 1 1

Wpisz nazwę miasta, dla którego chcesz znaleźć jednostkę ZUS.

Wzory dokumentów

Bezpłatne wzory dokumentów i formularzy.
Wyszukaj i pobierz za darmo: