https://github.com/1337programming/aibot
AI Bot Written in Node and C++
https://github.com/1337programming/aibot
Last synced: 8 months ago
JSON representation
AI Bot Written in Node and C++
- Host: GitHub
- URL: https://github.com/1337programming/aibot
- Owner: 1337programming
- Created: 2016-07-27T01:02:14.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-08-01T01:54:11.000Z (over 9 years ago)
- Last Synced: 2025-01-08T07:42:49.820Z (about 1 year ago)
- Language: C++
- Size: 6.84 KB
- Stars: 0
- Watchers: 7
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AIBot
AI Bot Written in Node and C++
## TODO
* Integrate node Object
## Debugging
If using Windows you can use visual studio otherwise for macs use the LLDB command line tool described below.
First, you need to do a debug build of your module.
`node-gyp build --debug`
Then `cd` to your project’s root. We need to know the absolute path to the node executable. Run:
`which node`
That will return the path to node.js. Now, run:
`lldb -- your/path/to/node {somefile.js}`
Adding breakpoints
`breakpoint set -f {somefile.cpp} -l 25`
Then start
`run`