The BUILD file puts the result in ${workspaceRoot}/bazel-bin/... and I've tried playing with the cwd a bit. I have copts="-g" to generate the symbols. VSC starts up gdb and runs the process, which spawns a bunch of threads, but it never hits any breakpoints.
Any ideas?
I'm working with Tensorflow Serving, which is built with Bazel, and trying to use Visual Studio Code (VSC). I have VSC building the projects with Bazel, but when I try to debug it can't find my code. I feel like this could be a really great cross-platform, multi-language development environment if I can only get debugging working, since VSC supports both C++ and Python and runs on Linux and MacOS.
The BUILD file puts the result in ${workspaceRoot}/bazel-bin/... and I've tried playing with the cwd a bit. I have copts="-g" to generate the symbols. VSC starts up gdb and runs the process, which spawns a bunch of threads, but it never hits any breakpoints.
No, I was using copts="-g". copts is where that would go, right? So it would be copts="-c dbg", right?
> Are you building with -c dbg?
No, I was using copts="-g". copts is where that would go, right? So it would be copts="-c dbg", right?
> Are you building with -c dbg?
No, I was using copts="-g". copts is where that would go, right? So it would be copts="-c dbg", right?
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/6b1bea1b-3fdd-4feb-b188-111aee019eaa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
> Are you building with -c dbg?
No, I was using copts="-g". copts is where that would go, right? So it would be copts="-c dbg", right?
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discuss+unsubscribe@googlegroups.com.