atom-build icon indicating copy to clipboard operation
atom-build copied to clipboard

Crash when jumping to error

Open Invisible-Rabbit-Hunter opened this issue 9 years ago • 13 comments

Whenever i jump to error Atom crashes, I am using cl on windows.

Invisible-Rabbit-Hunter avatar Dec 18 '15 18:12 Invisible-Rabbit-Hunter

Crashes how? Can you bring up dev tools and post any errors from there?

noseglid avatar Dec 18 '15 20:12 noseglid

how do i do that? and crashing as in stops responding

Invisible-Rabbit-Hunter avatar Dec 18 '15 20:12 Invisible-Rabbit-Hunter

I'm gonna need more information if I should be able to do something here... Steps to reproduce, crashlog, error outputs, etc.

noseglid avatar Dec 19 '15 07:12 noseglid

.atom-build.json:

{
  "cmd": "{PROJECT_PATH}/code/build.bat",
  "args": [],
  "sh": false,
  "cwd": "{PROJECT_PATH}",
  "env": {

  },
  "errorMatch": "(?<file>.+)\\((?<line>\\d+)\\)"
}

build.bat:

@echo off

call "c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x64
cd w:\build

cl -DHANDMADE_WIN32=1 -FC -Zi ..\handmade\code\win32_handmade.cpp user32.lib gdi32.lib

steps to crash are

  1. Make an error in your code
  2. Use errorMarcher to jump to the error
  3. You get a crash, or at least i got one.

Invisible-Rabbit-Hunter avatar Dec 19 '15 21:12 Invisible-Rabbit-Hunter

I don't know where to get the crashlog, so if you would be so nice to tell where to find it, I could give it to you.

Invisible-Rabbit-Hunter avatar Dec 19 '15 21:12 Invisible-Rabbit-Hunter

Does Atom terminate, or freeze? I have never experienced a crash so I don't know where to find crash logs. I would have to look it up, same as you - and since I'm not on windows chances are it won't help you.

noseglid avatar Dec 22 '15 11:12 noseglid

Seems atom-build doesn't like subst at all. Just tried to go to where it was on the actual drive and build it from there, and it works like a charm.

Invisible-Rabbit-Hunter avatar Dec 27 '15 15:12 Invisible-Rabbit-Hunter

subst?

noseglid avatar Dec 27 '15 16:12 noseglid

virtual drive

Invisible-Rabbit-Hunter avatar Dec 27 '15 16:12 Invisible-Rabbit-Hunter

the command on windows is subst

Invisible-Rabbit-Hunter avatar Dec 27 '15 16:12 Invisible-Rabbit-Hunter

So it works well inside atom, unless the project root is via a virtual drive?

noseglid avatar Dec 27 '15 19:12 noseglid

yes

Invisible-Rabbit-Hunter avatar Dec 27 '15 21:12 Invisible-Rabbit-Hunter

when on a virtual drive it freezes and asks to close.

Invisible-Rabbit-Hunter avatar Dec 27 '15 21:12 Invisible-Rabbit-Hunter