Skip to content

tealdbg: large program breaks cdt session #3100

@barnjamin

Description

@barnjamin

When using tealdbg if the disassembled teal is over a given size and the source is requested the CDT session will be disconnected

image

I believe this is related to the buffer sizes set here:

https://github.com/algorand/go-algorand/blob/master/cmd/tealdbg/server.go#L34-L35

To test I overwrote those values with 60k and started the sandbox with the fork and re-ran the tealdbg command. With these changes the TEAL loaded successfully.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions