microsoft / vscode-makefile-tools

MAKE integration in Visual Studio Code
Other
184 stars 55 forks source link

Problems with debugging #525

Closed King-Z-101 closed 6 months ago

King-Z-101 commented 8 months ago

The program runs the test target fine but if I set a breakpoint at the start of main() but it doesn't stop.

Makefile: CC = gcc

CFLAGS = -Wall -g

LD = gcc

OBJS = htable.o

all: htable

htable: htable.o $(CC) $(CFLAGS) -o htable $(OBJS)

test: all echo Testing all htable < test1

echo done.

clean: rm *.o rm htable

ScreenShot: image

gcampbell-msft commented 7 months ago

@King-Z-101 Are you able to debug the file if you set up a manual launch.json? This may help us diagnose if it's an issue with the vscode-cpptools debug part of the extension or if it's an error in how we attempt to configure debugging.

Any information you can provide would be very helpful, thanks!

github-actions[bot] commented 6 months ago

This issue is now marked as 'stale' due to there being no activity on it for the past 30 days and being labeled 'more info needed'. Unless the 'stale' label is removed or the issue is commented on, this will be closed in 14 days. If you would like to make this issue exempt from getting stale, please provide the information needed for the maintainers to understand the issue better.

github-actions[bot] commented 6 months ago

This issue is now closed due to there being no activity on it for the past 14 days since being marked as 'stale'.