<p>Currently I'm working on a fork from 0.13, so apologies if this is documented in later version.</p>

<p>I'm cross-compiling bitocin-qt for Windows 10 (following the instructions in the build-windows document), although technically I would consider running an X11 version instead. My preference is to compile the Windows native version and be able to use gdb in the same way that I can do under Linux.</p>

<p>Is this possible?</p>

CC BY-SA 4.0
2020-03-01T19:30:31.890Z
I'm a bit confused by your question. Can you list which platform(s) (1) you're building on (2) you're building for/running on and (3) you're debugging on.
Pieter Wuille
CC BY-SA 4.0
2020-03-02T06:36:29.950Z
Peter, I'm using the standard build method as detailed in the build-windows document in the docs directory.
Rebroad
CC BY-SA 4.0
2020-03-02T06:49:58.437Z
But on what platform? Are you building on windows, or on linux? And do you want to run gdb while in windows or in linux?
Pieter Wuille
CC BY-SA 4.0
2020-03-03T15:30:53.120Z
I'm compiling on Windows 10 using WSL. I'd like to use any free debugger, but preferably gdb. Currently compiling with --enable-debug seems to cause errors though.
Rebroad
<bitcoind><windows>
How do I compile bitcoin-qt 0.13 for Windows 10 and use gdb (or similar) to debug it?
Rebroad
# How do I compile bitcoin-qt 0.13 for Windows 10 and use gdb (or similar) to debug it?

(Asked by: username_0 on 2020-03-01)

Currently I'm working on a fork from 0.13, so apologies if this is documented in later version.

I'm cross-compiling bitocin-qt for Windows 10 (following the instructions in the build-windows document), although technically I would consider running an X11 version instead. My preference is to compile the Windows native version and be able to use gdb in the same way that I can do under Linux.

Is this possible?

**Tags:** bitcoind, windows

> **Comments:**
> **username_1**: I'm a bit confused by your question. Can you list which platform(s) (1) you're building on (2) you're building for/running on and (3) you're debugging on.  
> **username_0**: Peter, I'm using the standard build method as detailed in the build-windows document in the docs directory.  
> **username_1**: But on what platform? Are you building on windows, or on linux? And do you want to run gdb while in windows or in linux?  
> **username_0**: I'm compiling on Windows 10 using WSL. I'd like to use any free debugger, but preferably gdb. Currently compiling with --enable-debug seems to cause errors though.  

---

## 0 answers

