Skip to content

Running with --luanch-profile #207

@NeuSandeZ

Description

@NeuSandeZ

I'm having troubles invoking this command

you can now set dotnet run parameters in 2 ways:

pass them as netcoredbg arguments:
$>netcoredbg [netcoredbg params] [-- dotnet run [run params]] [-- [your_app_params]]

here's where I found it https://github.com/Samsung/netcoredbg/issues/68

What I've tried:

> netcoredbg --interpreter=cli -- dotnet bin/Debug/net9.0/ApiTest.dll
ncdb> r -- --launch-profile http 

(this doesn't respect the launch profile option, but hit breakpoints)

> netcoredbg --interpreter=cli -- dotnet run --launch-profile http
ncdb> b Program.cs:51
ncdb> r 

(this does respect the launch profile, however breakpoints are not hit, seems like upon "r" command new dotnet process is created and ncdb cannot attach to it, or having troubles with loading symbols)

I tried various variations of these commands and I just cannot get it to work.

By the way is this project still alive? It's been over a year since last commit and release and .net 10 is knocking at our doors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions