Skip to content
This repository was archived by the owner on Apr 14, 2025. It is now read-only.

feat: put debug labels in separated lines #22

Merged
merged 1 commit into from
Mar 10, 2025

Conversation

boriel
Copy link

@boriel boriel commented Mar 9, 2025

What / Why

New versions of Boriel BASIC requires Labels to be declared at the beginning of the line (so there can´t be more than 1 label per line).

This breaks ZXBasic Studio debugging, which inserts a label on every line of the file for tracking purposes (and some of
these lines might contain labels already). This solution fixes that by adding every label followed by a new line \n. This works as expected and the debugging is accurated when hitting a breakpoint (i.e. the line displayed matches that of the code, etc).

@boriel boriel requested review from gusmanb and Duefectu March 9, 2025 22:17
@boriel boriel force-pushed the feature/put_debug_labels_in_sepparated_lines branch from 6fcc66a to ba10f64 Compare March 9, 2025 22:26
@Duefectu Duefectu merged commit 655cbc4 into master Mar 10, 2025
2 checks passed
@Duefectu Duefectu deleted the feature/put_debug_labels_in_sepparated_lines branch March 10, 2025 22:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants