Debug Mode disabled

Issue #106 resolved
alpha kevin created an issue

Hi,

I'm new to I-Pascal. I've tried the setup and I can run the code.
But unfortunally I'm not able to debug.

The Icon in IntelliJ IDEA 2020.1.1 is disabled and running debug from main menu doesn't work.

Setting breakpoint doesn`t work , too.

What can I do?

Comments (12)

  1. alpha kevin reporter

    with version 2.80 the debug button is accessable, but with default settings I get following message:

  2. George Bakhtadze repo owner

    It seems that “Use settings from .gdbinit“ is checked. It should be turned off usually.

  3. alpha kevin reporter

    Thanks, that's it!

    Sorry I’ve meant “default settings“ for fpc configuration not for the plugin in my description.

    I’m on the way… but now it seems that I can not access complete language features. E.g. Keyword “try“ not found (the IDE suggests the keyword but the compiler doesn`t accept it):

  4. George Bakhtadze repo owner

    By default FPC uses “FPC” mode which doesn’t allow try keyword.Add {$MODE OBJFPC} or {$MODE DELPHI} at the beginning of your unit.

  5. Log in to comment