Skip to content
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

Unable to debug an Erlang code with Makefile in IntelliJ #1000

Open
bhuvanplus opened this issue Jan 7, 2023 · 0 comments
Open

Unable to debug an Erlang code with Makefile in IntelliJ #1000

bhuvanplus opened this issue Jan 7, 2023 · 0 comments

Comments

@bhuvanplus
Copy link

bhuvanplus commented Jan 7, 2023

Setup: OTP 26. IntelliJ 2022.3.1 with plugins Erlang 0.11.1162 and Makefile 223.8214.6 installed

Code under preview: The test suite ct_netconfc_SUITE. It has a Makefile for building. We could run it from CLI using the command make common_test_test ARGS="-suite ct_netconfc_SUITE".

Goal: I want to debug the test suite otp\lib\common_test\test\ct_netconfc_SUITE.

I have set breakpoints in the code. I have created a configuration using Run-->Edit Configurations for the make command specified above. I tried to debug using Run-->Debug-->Makefile-->Run. It successfully runs the configuration. But it did not stop at the breakpoint.

How to stop at the breakpoint?

The page https://www.jetbrains.com/help/idea/erlang-compile-run-debug.html#erlang-run-debug-apps explained about debugging an Erlang application without using Makefile. Whereas, my application uses Makefile for building.

Installed Plugins
ErlangPlugin

MakefilePlugin

Debug Configurations created for the make command
DebugConfigurationsCreatedForMakefile

Debugging command
DebuggingCommand

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant